 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.396148487926 -2.7899498306215)', '2026-07-21 16:00:47', 12.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396218392998 -2.7898527681828)'), GeomFromEWKT('SRID=4674;POINT (-40.396148487926 -2.7899498306215)'))) / (select extract(epoch from '2026-07-21 16:00:47'::timestamp) - extract(epoch from '2026-07-21 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396218392998 -2.7898527681828)'), GeomFromEWKT('SRID=4674;POINT (-40.396148487926 -2.7899498306215)'))) / (select extract(epoch from '2026-07-21 16:00:47'::timestamp) - extract(epoch from '2026-07-21 16:00: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'), 47833, 'SRID=4674;POINT (-40.396083695814 -2.7900392655283)', '2026-07-21 16:00:54', 13.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396148487926 -2.7899498306215)'), GeomFromEWKT('SRID=4674;POINT (-40.396083695814 -2.7900392655283)'))) / (select extract(epoch from '2026-07-21 16:00:54'::timestamp) - extract(epoch from '2026-07-21 16:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396148487926 -2.7899498306215)'), GeomFromEWKT('SRID=4674;POINT (-40.396083695814 -2.7900392655283)'))) / (select extract(epoch from '2026-07-21 16:00:54'::timestamp) - extract(epoch from '2026-07-21 16:00: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'), 47833, 'SRID=4674;POINT (-40.396001217887 -2.7901518344879)', '2026-07-21 16:01:02', 14.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396083695814 -2.7900392655283)'), GeomFromEWKT('SRID=4674;POINT (-40.396001217887 -2.7901518344879)'))) / (select extract(epoch from '2026-07-21 16:01:02'::timestamp) - extract(epoch from '2026-07-21 16:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396083695814 -2.7900392655283)'), GeomFromEWKT('SRID=4674;POINT (-40.396001217887 -2.7901518344879)'))) / (select extract(epoch from '2026-07-21 16:01:02'::timestamp) - extract(epoch from '2026-07-21 16:00: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'), 47833, 'SRID=4674;POINT (-40.395941790193 -2.7902507409453)', '2026-07-21 16:01:08', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396001217887 -2.7901518344879)'), GeomFromEWKT('SRID=4674;POINT (-40.395941790193 -2.7902507409453)'))) / (select extract(epoch from '2026-07-21 16:01:08'::timestamp) - extract(epoch from '2026-07-21 16:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396001217887 -2.7901518344879)'), GeomFromEWKT('SRID=4674;POINT (-40.395941790193 -2.7902507409453)'))) / (select extract(epoch from '2026-07-21 16:01:08'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47833, 'SRID=4674;POINT (-40.395855037495 -2.7903988491744)', '2026-07-21 16:01:18', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395941790193 -2.7902507409453)'), GeomFromEWKT('SRID=4674;POINT (-40.395855037495 -2.7903988491744)'))) / (select extract(epoch from '2026-07-21 16:01:18'::timestamp) - extract(epoch from '2026-07-21 16:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395941790193 -2.7902507409453)'), GeomFromEWKT('SRID=4674;POINT (-40.395855037495 -2.7903988491744)'))) / (select extract(epoch from '2026-07-21 16:01:18'::timestamp) - extract(epoch from '2026-07-21 16:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.395803991705 -2.7904879488051)', '2026-07-21 16:01:25', 17.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395855037495 -2.7903988491744)'), GeomFromEWKT('SRID=4674;POINT (-40.395803991705 -2.7904879488051)'))) / (select extract(epoch from '2026-07-21 16:01:25'::timestamp) - extract(epoch from '2026-07-21 16:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395855037495 -2.7903988491744)'), GeomFromEWKT('SRID=4674;POINT (-40.395803991705 -2.7904879488051)'))) / (select extract(epoch from '2026-07-21 16:01:25'::timestamp) - extract(epoch from '2026-07-21 16:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39577155374 -2.7905773837119)', '2026-07-21 16:01:32', 17.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395803991705 -2.7904879488051)'), GeomFromEWKT('SRID=4674;POINT (-40.39577155374 -2.7905773837119)'))) / (select extract(epoch from '2026-07-21 16:01:32'::timestamp) - extract(epoch from '2026-07-21 16:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395803991705 -2.7904879488051)'), GeomFromEWKT('SRID=4674;POINT (-40.39577155374 -2.7905773837119)'))) / (select extract(epoch from '2026-07-21 16:01:32'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47833, 'SRID=4674;POINT (-40.395711371675 -2.7906645555049)', '2026-07-21 16:01:39', 17.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39577155374 -2.7905773837119)'), GeomFromEWKT('SRID=4674;POINT (-40.395711371675 -2.7906645555049)'))) / (select extract(epoch from '2026-07-21 16:01:39'::timestamp) - extract(epoch from '2026-07-21 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39577155374 -2.7905773837119)'), GeomFromEWKT('SRID=4674;POINT (-40.395711371675 -2.7906645555049)'))) / (select extract(epoch from '2026-07-21 16:01:39'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47833, 'SRID=4674;POINT (-40.395665690303 -2.7907529845834)', '2026-07-21 16:01:46', 17.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395711371675 -2.7906645555049)'), GeomFromEWKT('SRID=4674;POINT (-40.395665690303 -2.7907529845834)'))) / (select extract(epoch from '2026-07-21 16:01:46'::timestamp) - extract(epoch from '2026-07-21 16:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395711371675 -2.7906645555049)'), GeomFromEWKT('SRID=4674;POINT (-40.395665690303 -2.7907529845834)'))) / (select extract(epoch from '2026-07-21 16:01:46'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395585475489 -2.7908458560705)', '2026-07-21 16:01:53', 17.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395665690303 -2.7907529845834)'), GeomFromEWKT('SRID=4674;POINT (-40.395585475489 -2.7908458560705)'))) / (select extract(epoch from '2026-07-21 16:01:53'::timestamp) - extract(epoch from '2026-07-21 16:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395665690303 -2.7907529845834)'), GeomFromEWKT('SRID=4674;POINT (-40.395585475489 -2.7908458560705)'))) / (select extract(epoch from '2026-07-21 16:01:53'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47833, 'SRID=4674;POINT (-40.395498555154 -2.7909097261727)', '2026-07-21 16:02:00', 16.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395585475489 -2.7908458560705)'), GeomFromEWKT('SRID=4674;POINT (-40.395498555154 -2.7909097261727)'))) / (select extract(epoch from '2026-07-21 16:02:00'::timestamp) - extract(epoch from '2026-07-21 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395585475489 -2.7908458560705)'), GeomFromEWKT('SRID=4674;POINT (-40.395498555154 -2.7909097261727)'))) / (select extract(epoch from '2026-07-21 16:02:00'::timestamp) - extract(epoch from '2026-07-21 16:01: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'), 47833, 'SRID=4674;POINT (-40.395445916802 -2.7909758593887)', '2026-07-21 16:02:06', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395498555154 -2.7909097261727)'), GeomFromEWKT('SRID=4674;POINT (-40.395445916802 -2.7909758593887)'))) / (select extract(epoch from '2026-07-21 16:02:06'::timestamp) - extract(epoch from '2026-07-21 16:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395498555154 -2.7909097261727)'), GeomFromEWKT('SRID=4674;POINT (-40.395445916802 -2.7909758593887)'))) / (select extract(epoch from '2026-07-21 16:02:06'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395374419168 -2.7910755202174)', '2026-07-21 16:02:13', 15.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395445916802 -2.7909758593887)'), GeomFromEWKT('SRID=4674;POINT (-40.395374419168 -2.7910755202174)'))) / (select extract(epoch from '2026-07-21 16:02:13'::timestamp) - extract(epoch from '2026-07-21 16:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395445916802 -2.7909758593887)'), GeomFromEWKT('SRID=4674;POINT (-40.395374419168 -2.7910755202174)'))) / (select extract(epoch from '2026-07-21 16:02:13'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395327899605 -2.7911384683102)', '2026-07-21 16:02:19', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395374419168 -2.7910755202174)'), GeomFromEWKT('SRID=4674;POINT (-40.395327899605 -2.7911384683102)'))) / (select extract(epoch from '2026-07-21 16:02:19'::timestamp) - extract(epoch from '2026-07-21 16:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395374419168 -2.7910755202174)'), GeomFromEWKT('SRID=4674;POINT (-40.395327899605 -2.7911384683102)'))) / (select extract(epoch from '2026-07-21 16:02:19'::timestamp) - extract(epoch from '2026-07-21 16:02: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'), 47833, 'SRID=4674;POINT (-40.395290935412 -2.7912282384932)', '2026-07-21 16:02:25', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395327899605 -2.7911384683102)'), GeomFromEWKT('SRID=4674;POINT (-40.395290935412 -2.7912282384932)'))) / (select extract(epoch from '2026-07-21 16:02:25'::timestamp) - extract(epoch from '2026-07-21 16:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395327899605 -2.7911384683102)'), GeomFromEWKT('SRID=4674;POINT (-40.395290935412 -2.7912282384932)'))) / (select extract(epoch from '2026-07-21 16:02:25'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395249444991 -2.7913074474782)', '2026-07-21 16:02:31', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395290935412 -2.7912282384932)'), GeomFromEWKT('SRID=4674;POINT (-40.395249444991 -2.7913074474782)'))) / (select extract(epoch from '2026-07-21 16:02:31'::timestamp) - extract(epoch from '2026-07-21 16:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395290935412 -2.7912282384932)'), GeomFromEWKT('SRID=4674;POINT (-40.395249444991 -2.7913074474782)'))) / (select extract(epoch from '2026-07-21 16:02:31'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395211726427 -2.7913983911276)', '2026-07-21 16:02:37', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395249444991 -2.7913074474782)'), GeomFromEWKT('SRID=4674;POINT (-40.395211726427 -2.7913983911276)'))) / (select extract(epoch from '2026-07-21 16:02:37'::timestamp) - extract(epoch from '2026-07-21 16:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395249444991 -2.7913074474782)'), GeomFromEWKT('SRID=4674;POINT (-40.395211726427 -2.7913983911276)'))) / (select extract(epoch from '2026-07-21 16:02:37'::timestamp) - extract(epoch from '2026-07-21 16:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39518725127 -2.7914821263403)', '2026-07-21 16:02:43', 15.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395211726427 -2.7913983911276)'), GeomFromEWKT('SRID=4674;POINT (-40.39518725127 -2.7914821263403)'))) / (select extract(epoch from '2026-07-21 16:02:43'::timestamp) - extract(epoch from '2026-07-21 16:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395211726427 -2.7913983911276)'), GeomFromEWKT('SRID=4674;POINT (-40.39518725127 -2.7914821263403)'))) / (select extract(epoch from '2026-07-21 16:02:43'::timestamp) - extract(epoch from '2026-07-21 16:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.395151879638 -2.7915931865573)', '2026-07-21 16:02:50', 15.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39518725127 -2.7914821263403)'), GeomFromEWKT('SRID=4674;POINT (-40.395151879638 -2.7915931865573)'))) / (select extract(epoch from '2026-07-21 16:02:50'::timestamp) - extract(epoch from '2026-07-21 16:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39518725127 -2.7914821263403)'), GeomFromEWKT('SRID=4674;POINT (-40.395151879638 -2.7915931865573)'))) / (select extract(epoch from '2026-07-21 16:02:50'::timestamp) - extract(epoch from '2026-07-21 16:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39511365816 -2.7916624210775)', '2026-07-21 16:02:55', 15.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395151879638 -2.7915931865573)'), GeomFromEWKT('SRID=4674;POINT (-40.39511365816 -2.7916624210775)'))) / (select extract(epoch from '2026-07-21 16:02:55'::timestamp) - extract(epoch from '2026-07-21 16:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395151879638 -2.7915931865573)'), GeomFromEWKT('SRID=4674;POINT (-40.39511365816 -2.7916624210775)'))) / (select extract(epoch from '2026-07-21 16:02:55'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.395051967353 -2.791769374162)', '2026-07-21 16:03:02', 15.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39511365816 -2.7916624210775)'), GeomFromEWKT('SRID=4674;POINT (-40.395051967353 -2.791769374162)'))) / (select extract(epoch from '2026-07-21 16:03:02'::timestamp) - extract(epoch from '2026-07-21 16:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39511365816 -2.7916624210775)'), GeomFromEWKT('SRID=4674;POINT (-40.395051967353 -2.791769374162)'))) / (select extract(epoch from '2026-07-21 16:03:02'::timestamp) - extract(epoch from '2026-07-21 16:02: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'), 47833, 'SRID=4674;POINT (-40.394956748933 -2.7918590605259)', '2026-07-21 16:03:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395051967353 -2.791769374162)'), GeomFromEWKT('SRID=4674;POINT (-40.394956748933 -2.7918590605259)'))) / (select extract(epoch from '2026-07-21 16:03:09'::timestamp) - extract(epoch from '2026-07-21 16:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395051967353 -2.791769374162)'), GeomFromEWKT('SRID=4674;POINT (-40.394956748933 -2.7918590605259)'))) / (select extract(epoch from '2026-07-21 16:03:09'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47833, 'SRID=4674;POINT (-40.394926071167 -2.7919049933553)', '2026-07-21 16:03:13', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394956748933 -2.7918590605259)'), GeomFromEWKT('SRID=4674;POINT (-40.394926071167 -2.7919049933553)'))) / (select extract(epoch from '2026-07-21 16:03:13'::timestamp) - extract(epoch from '2026-07-21 16:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394956748933 -2.7918590605259)'), GeomFromEWKT('SRID=4674;POINT (-40.394926071167 -2.7919049933553)'))) / (select extract(epoch from '2026-07-21 16:03:13'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.394915593788 -2.7919335756451)', '2026-07-21 16:03:15', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394926071167 -2.7919049933553)'), GeomFromEWKT('SRID=4674;POINT (-40.394915593788 -2.7919335756451)'))) / (select extract(epoch from '2026-07-21 16:03:15'::timestamp) - extract(epoch from '2026-07-21 16:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394926071167 -2.7919049933553)'), GeomFromEWKT('SRID=4674;POINT (-40.394915593788 -2.7919335756451)'))) / (select extract(epoch from '2026-07-21 16:03:15'::timestamp) - extract(epoch from '2026-07-21 16:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394874271005 -2.7920031454414)', '2026-07-21 16:03:22', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394915593788 -2.7919335756451)'), GeomFromEWKT('SRID=4674;POINT (-40.394874271005 -2.7920031454414)'))) / (select extract(epoch from '2026-07-21 16:03:22'::timestamp) - extract(epoch from '2026-07-21 16:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394915593788 -2.7919335756451)'), GeomFromEWKT('SRID=4674;POINT (-40.394874271005 -2.7920031454414)'))) / (select extract(epoch from '2026-07-21 16:03:22'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47833, 'SRID=4674;POINT (-40.394846862182 -2.7920414507389)', '2026-07-21 16:03:27', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394874271005 -2.7920031454414)'), GeomFromEWKT('SRID=4674;POINT (-40.394846862182 -2.7920414507389)'))) / (select extract(epoch from '2026-07-21 16:03:27'::timestamp) - extract(epoch from '2026-07-21 16:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394874271005 -2.7920031454414)'), GeomFromEWKT('SRID=4674;POINT (-40.394846862182 -2.7920414507389)'))) / (select extract(epoch from '2026-07-21 16:03:27'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.394830182195 -2.7921244315803)', '2026-07-21 16:03:34', 14.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394846862182 -2.7920414507389)'), GeomFromEWKT('SRID=4674;POINT (-40.394830182195 -2.7921244315803)'))) / (select extract(epoch from '2026-07-21 16:03:34'::timestamp) - extract(epoch from '2026-07-21 16:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394846862182 -2.7920414507389)'), GeomFromEWKT('SRID=4674;POINT (-40.394830182195 -2.7921244315803)'))) / (select extract(epoch from '2026-07-21 16:03:34'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47833, 'SRID=4674;POINT (-40.394816435874 -2.7921429555863)', '2026-07-21 16:03:36', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394830182195 -2.7921244315803)'), GeomFromEWKT('SRID=4674;POINT (-40.394816435874 -2.7921429555863)'))) / (select extract(epoch from '2026-07-21 16:03:36'::timestamp) - extract(epoch from '2026-07-21 16:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394830182195 -2.7921244315803)'), GeomFromEWKT('SRID=4674;POINT (-40.394816435874 -2.7921429555863)'))) / (select extract(epoch from '2026-07-21 16:03:36'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47833, 'SRID=4674;POINT (-40.394793050364 -2.7921966835856)', '2026-07-21 16:03:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394816435874 -2.7921429555863)'), GeomFromEWKT('SRID=4674;POINT (-40.394793050364 -2.7921966835856)'))) / (select extract(epoch from '2026-07-21 16:03:40'::timestamp) - extract(epoch from '2026-07-21 16:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394816435874 -2.7921429555863)'), GeomFromEWKT('SRID=4674;POINT (-40.394793050364 -2.7921966835856)'))) / (select extract(epoch from '2026-07-21 16:03:40'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.394762288779 -2.7922707796097)', '2026-07-21 16:03:46', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394793050364 -2.7921966835856)'), GeomFromEWKT('SRID=4674;POINT (-40.394762288779 -2.7922707796097)'))) / (select extract(epoch from '2026-07-21 16:03:46'::timestamp) - extract(epoch from '2026-07-21 16:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394793050364 -2.7921966835856)'), GeomFromEWKT('SRID=4674;POINT (-40.394762288779 -2.7922707796097)'))) / (select extract(epoch from '2026-07-21 16:03:46'::timestamp) - extract(epoch from '2026-07-21 16:03: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'), 47833, 'SRID=4674;POINT (-40.394733455032 -2.792340433225)', '2026-07-21 16:03:52', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762288779 -2.7922707796097)'), GeomFromEWKT('SRID=4674;POINT (-40.394733455032 -2.792340433225)'))) / (select extract(epoch from '2026-07-21 16:03:52'::timestamp) - extract(epoch from '2026-07-21 16:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394762288779 -2.7922707796097)'), GeomFromEWKT('SRID=4674;POINT (-40.394733455032 -2.792340433225)'))) / (select extract(epoch from '2026-07-21 16:03:52'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.394669082016 -2.7924446202815)', '2026-07-21 16:04:00', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394733455032 -2.792340433225)'), GeomFromEWKT('SRID=4674;POINT (-40.394669082016 -2.7924446202815)'))) / (select extract(epoch from '2026-07-21 16:04:00'::timestamp) - extract(epoch from '2026-07-21 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394733455032 -2.792340433225)'), GeomFromEWKT('SRID=4674;POINT (-40.394669082016 -2.7924446202815)'))) / (select extract(epoch from '2026-07-21 16:04:00'::timestamp) - extract(epoch from '2026-07-21 16:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394609738141 -2.7925081551075)', '2026-07-21 16:04:06', 14.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394669082016 -2.7924446202815)'), GeomFromEWKT('SRID=4674;POINT (-40.394609738141 -2.7925081551075)'))) / (select extract(epoch from '2026-07-21 16:04:06'::timestamp) - extract(epoch from '2026-07-21 16:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394669082016 -2.7924446202815)'), GeomFromEWKT('SRID=4674;POINT (-40.394609738141 -2.7925081551075)'))) / (select extract(epoch from '2026-07-21 16:04:06'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47833, 'SRID=4674;POINT (-40.394599596038 -2.7925106696784)', '2026-07-21 16:04:07', 14.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394609738141 -2.7925081551075)'), GeomFromEWKT('SRID=4674;POINT (-40.394599596038 -2.7925106696784)'))) / (select extract(epoch from '2026-07-21 16:04:07'::timestamp) - extract(epoch from '2026-07-21 16:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394609738141 -2.7925081551075)'), GeomFromEWKT('SRID=4674;POINT (-40.394599596038 -2.7925106696784)'))) / (select extract(epoch from '2026-07-21 16:04:07'::timestamp) - extract(epoch from '2026-07-21 16:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394538240507 -2.7925418503582)', '2026-07-21 16:04:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394599596038 -2.7925106696784)'), GeomFromEWKT('SRID=4674;POINT (-40.394538240507 -2.7925418503582)'))) / (select extract(epoch from '2026-07-21 16:04:12'::timestamp) - extract(epoch from '2026-07-21 16:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394599596038 -2.7925106696784)'), GeomFromEWKT('SRID=4674;POINT (-40.394538240507 -2.7925418503582)'))) / (select extract(epoch from '2026-07-21 16:04:12'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47833, 'SRID=4674;POINT (-40.394461629912 -2.7926015295088)', '2026-07-21 16:04:18', 13.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394538240507 -2.7925418503582)'), GeomFromEWKT('SRID=4674;POINT (-40.394461629912 -2.7926015295088)'))) / (select extract(epoch from '2026-07-21 16:04:18'::timestamp) - extract(epoch from '2026-07-21 16:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394538240507 -2.7925418503582)'), GeomFromEWKT('SRID=4674;POINT (-40.394461629912 -2.7926015295088)'))) / (select extract(epoch from '2026-07-21 16:04:18'::timestamp) - extract(epoch from '2026-07-21 16:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394381834194 -2.7926642261446)', '2026-07-21 16:04:25', 13.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394461629912 -2.7926015295088)'), GeomFromEWKT('SRID=4674;POINT (-40.394381834194 -2.7926642261446)'))) / (select extract(epoch from '2026-07-21 16:04:25'::timestamp) - extract(epoch from '2026-07-21 16:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394461629912 -2.7926015295088)'), GeomFromEWKT('SRID=4674;POINT (-40.394381834194 -2.7926642261446)'))) / (select extract(epoch from '2026-07-21 16:04:25'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47833, 'SRID=4674;POINT (-40.394306648523 -2.7927437704057)', '2026-07-21 16:04:32', 13.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394381834194 -2.7926642261446)'), GeomFromEWKT('SRID=4674;POINT (-40.394306648523 -2.7927437704057)'))) / (select extract(epoch from '2026-07-21 16:04:32'::timestamp) - extract(epoch from '2026-07-21 16:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394381834194 -2.7926642261446)'), GeomFromEWKT('SRID=4674;POINT (-40.394306648523 -2.7927437704057)'))) / (select extract(epoch from '2026-07-21 16:04:32'::timestamp) - extract(epoch from '2026-07-21 16:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394233893603 -2.7928111609071)', '2026-07-21 16:04:38', 13.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394306648523 -2.7927437704057)'), GeomFromEWKT('SRID=4674;POINT (-40.394233893603 -2.7928111609071)'))) / (select extract(epoch from '2026-07-21 16:04:38'::timestamp) - extract(epoch from '2026-07-21 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394306648523 -2.7927437704057)'), GeomFromEWKT('SRID=4674;POINT (-40.394233893603 -2.7928111609071)'))) / (select extract(epoch from '2026-07-21 16:04:38'::timestamp) - extract(epoch from '2026-07-21 16:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394151331857 -2.7928518969566)', '2026-07-21 16:04:45', 13.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394233893603 -2.7928111609071)'), GeomFromEWKT('SRID=4674;POINT (-40.394151331857 -2.7928518969566)'))) / (select extract(epoch from '2026-07-21 16:04:45'::timestamp) - extract(epoch from '2026-07-21 16:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394233893603 -2.7928111609071)'), GeomFromEWKT('SRID=4674;POINT (-40.394151331857 -2.7928518969566)'))) / (select extract(epoch from '2026-07-21 16:04:45'::timestamp) - extract(epoch from '2026-07-21 16:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394101962447 -2.7928748633713)', '2026-07-21 16:04:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394151331857 -2.7928518969566)'), GeomFromEWKT('SRID=4674;POINT (-40.394101962447 -2.7928748633713)'))) / (select extract(epoch from '2026-07-21 16:04:51'::timestamp) - extract(epoch from '2026-07-21 16:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394151331857 -2.7928518969566)'), GeomFromEWKT('SRID=4674;POINT (-40.394101962447 -2.7928748633713)'))) / (select extract(epoch from '2026-07-21 16:04:51'::timestamp) - extract(epoch from '2026-07-21 16:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.394033482298 -2.7929231431335)', '2026-07-21 16:04:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101962447 -2.7928748633713)'), GeomFromEWKT('SRID=4674;POINT (-40.394033482298 -2.7929231431335)'))) / (select extract(epoch from '2026-07-21 16:04:58'::timestamp) - extract(epoch from '2026-07-21 16:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394101962447 -2.7928748633713)'), GeomFromEWKT('SRID=4674;POINT (-40.394033482298 -2.7929231431335)'))) / (select extract(epoch from '2026-07-21 16:04:58'::timestamp) - extract(epoch from '2026-07-21 16:04: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'), 47833, 'SRID=4674;POINT (-40.393974389881 -2.7930374722928)', '2026-07-21 16:05:06', 12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394033482298 -2.7929231431335)'), GeomFromEWKT('SRID=4674;POINT (-40.393974389881 -2.7930374722928)'))) / (select extract(epoch from '2026-07-21 16:05:06'::timestamp) - extract(epoch from '2026-07-21 16:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394033482298 -2.7929231431335)'), GeomFromEWKT('SRID=4674;POINT (-40.393974389881 -2.7930374722928)'))) / (select extract(epoch from '2026-07-21 16:05:06'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.393900796771 -2.7931478619576)', '2026-07-21 16:05:13', 12.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393974389881 -2.7930374722928)'), GeomFromEWKT('SRID=4674;POINT (-40.393900796771 -2.7931478619576)'))) / (select extract(epoch from '2026-07-21 16:05:13'::timestamp) - extract(epoch from '2026-07-21 16:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393974389881 -2.7930374722928)'), GeomFromEWKT('SRID=4674;POINT (-40.393900796771 -2.7931478619576)'))) / (select extract(epoch from '2026-07-21 16:05:13'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393844218925 -2.7932356204838)', '2026-07-21 16:05:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393900796771 -2.7931478619576)'), GeomFromEWKT('SRID=4674;POINT (-40.393844218925 -2.7932356204838)'))) / (select extract(epoch from '2026-07-21 16:05:19'::timestamp) - extract(epoch from '2026-07-21 16:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393900796771 -2.7931478619576)'), GeomFromEWKT('SRID=4674;POINT (-40.393844218925 -2.7932356204838)'))) / (select extract(epoch from '2026-07-21 16:05:19'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393840195611 -2.7932528872043)', '2026-07-21 16:05:20', 11.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393844218925 -2.7932356204838)'), GeomFromEWKT('SRID=4674;POINT (-40.393840195611 -2.7932528872043)'))) / (select extract(epoch from '2026-07-21 16:05:20'::timestamp) - extract(epoch from '2026-07-21 16:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393844218925 -2.7932356204838)'), GeomFromEWKT('SRID=4674;POINT (-40.393840195611 -2.7932528872043)'))) / (select extract(epoch from '2026-07-21 16:05:20'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.393787641078 -2.7933632768691)', '2026-07-21 16:05:27', 11.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393840195611 -2.7932528872043)'), GeomFromEWKT('SRID=4674;POINT (-40.393787641078 -2.7933632768691)'))) / (select extract(epoch from '2026-07-21 16:05:27'::timestamp) - extract(epoch from '2026-07-21 16:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393840195611 -2.7932528872043)'), GeomFromEWKT('SRID=4674;POINT (-40.393787641078 -2.7933632768691)'))) / (select extract(epoch from '2026-07-21 16:05:27'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393761740997 -2.7934569865465)', '2026-07-21 16:05:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393787641078 -2.7933632768691)'), GeomFromEWKT('SRID=4674;POINT (-40.393761740997 -2.7934569865465)'))) / (select extract(epoch from '2026-07-21 16:05:33'::timestamp) - extract(epoch from '2026-07-21 16:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393787641078 -2.7933632768691)'), GeomFromEWKT('SRID=4674;POINT (-40.393761740997 -2.7934569865465)'))) / (select extract(epoch from '2026-07-21 16:05:33'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393709354103 -2.7935486845672)', '2026-07-21 16:05:39', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393761740997 -2.7934569865465)'), GeomFromEWKT('SRID=4674;POINT (-40.393709354103 -2.7935486845672)'))) / (select extract(epoch from '2026-07-21 16:05:39'::timestamp) - extract(epoch from '2026-07-21 16:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393761740997 -2.7934569865465)'), GeomFromEWKT('SRID=4674;POINT (-40.393709354103 -2.7935486845672)'))) / (select extract(epoch from '2026-07-21 16:05:39'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393669540063 -2.7936472557485)', '2026-07-21 16:05:45', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393709354103 -2.7935486845672)'), GeomFromEWKT('SRID=4674;POINT (-40.393669540063 -2.7936472557485)'))) / (select extract(epoch from '2026-07-21 16:05:45'::timestamp) - extract(epoch from '2026-07-21 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393709354103 -2.7935486845672)'), GeomFromEWKT('SRID=4674;POINT (-40.393669540063 -2.7936472557485)'))) / (select extract(epoch from '2026-07-21 16:05:45'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.39361782372 -2.7937765885144)', '2026-07-21 16:05:52', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393669540063 -2.7936472557485)'), GeomFromEWKT('SRID=4674;POINT (-40.39361782372 -2.7937765885144)'))) / (select extract(epoch from '2026-07-21 16:05:52'::timestamp) - extract(epoch from '2026-07-21 16:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393669540063 -2.7936472557485)'), GeomFromEWKT('SRID=4674;POINT (-40.39361782372 -2.7937765885144)'))) / (select extract(epoch from '2026-07-21 16:05:52'::timestamp) - extract(epoch from '2026-07-21 16:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.393569627777 -2.7938825357705)', '2026-07-21 16:05:58', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39361782372 -2.7937765885144)'), GeomFromEWKT('SRID=4674;POINT (-40.393569627777 -2.7938825357705)'))) / (select extract(epoch from '2026-07-21 16:05:58'::timestamp) - extract(epoch from '2026-07-21 16:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39361782372 -2.7937765885144)'), GeomFromEWKT('SRID=4674;POINT (-40.393569627777 -2.7938825357705)'))) / (select extract(epoch from '2026-07-21 16:05:58'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.393462674692 -2.7939982898533)', '2026-07-21 16:06:07', 10.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393569627777 -2.7938825357705)'), GeomFromEWKT('SRID=4674;POINT (-40.393462674692 -2.7939982898533)'))) / (select extract(epoch from '2026-07-21 16:06:07'::timestamp) - extract(epoch from '2026-07-21 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393569627777 -2.7938825357705)'), GeomFromEWKT('SRID=4674;POINT (-40.393462674692 -2.7939982898533)'))) / (select extract(epoch from '2026-07-21 16:06:07'::timestamp) - extract(epoch from '2026-07-21 16:05: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'), 47833, 'SRID=4674;POINT (-40.393380029127 -2.7940715476871)', '2026-07-21 16:06:13', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393462674692 -2.7939982898533)'), GeomFromEWKT('SRID=4674;POINT (-40.393380029127 -2.7940715476871)'))) / (select extract(epoch from '2026-07-21 16:06:13'::timestamp) - extract(epoch from '2026-07-21 16:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393462674692 -2.7939982898533)'), GeomFromEWKT('SRID=4674;POINT (-40.393380029127 -2.7940715476871)'))) / (select extract(epoch from '2026-07-21 16:06:13'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.393235776573 -2.7941775787622)', '2026-07-21 16:06:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393380029127 -2.7940715476871)'), GeomFromEWKT('SRID=4674;POINT (-40.393235776573 -2.7941775787622)'))) / (select extract(epoch from '2026-07-21 16:06:22'::timestamp) - extract(epoch from '2026-07-21 16:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393380029127 -2.7940715476871)'), GeomFromEWKT('SRID=4674;POINT (-40.393235776573 -2.7941775787622)'))) / (select extract(epoch from '2026-07-21 16:06:22'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.3931469284 -2.794272294268)', '2026-07-21 16:06:28', 11.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393235776573 -2.7941775787622)'), GeomFromEWKT('SRID=4674;POINT (-40.3931469284 -2.794272294268)'))) / (select extract(epoch from '2026-07-21 16:06:28'::timestamp) - extract(epoch from '2026-07-21 16:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393235776573 -2.7941775787622)'), GeomFromEWKT('SRID=4674;POINT (-40.3931469284 -2.794272294268)'))) / (select extract(epoch from '2026-07-21 16:06:28'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.39307509549 -2.7943665906787)', '2026-07-21 16:06:34', 10.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3931469284 -2.794272294268)'), GeomFromEWKT('SRID=4674;POINT (-40.39307509549 -2.7943665906787)'))) / (select extract(epoch from '2026-07-21 16:06:34'::timestamp) - extract(epoch from '2026-07-21 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3931469284 -2.794272294268)'), GeomFromEWKT('SRID=4674;POINT (-40.39307509549 -2.7943665906787)'))) / (select extract(epoch from '2026-07-21 16:06:34'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.392977865413 -2.7944271918386)', '2026-07-21 16:06:41', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39307509549 -2.7943665906787)'), GeomFromEWKT('SRID=4674;POINT (-40.392977865413 -2.7944271918386)'))) / (select extract(epoch from '2026-07-21 16:06:41'::timestamp) - extract(epoch from '2026-07-21 16:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39307509549 -2.7943665906787)'), GeomFromEWKT('SRID=4674;POINT (-40.392977865413 -2.7944271918386)'))) / (select extract(epoch from '2026-07-21 16:06:41'::timestamp) - extract(epoch from '2026-07-21 16:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.392858758569 -2.7944925706834)', '2026-07-21 16:06:49', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392977865413 -2.7944271918386)'), GeomFromEWKT('SRID=4674;POINT (-40.392858758569 -2.7944925706834)'))) / (select extract(epoch from '2026-07-21 16:06:49'::timestamp) - extract(epoch from '2026-07-21 16:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392977865413 -2.7944271918386)'), GeomFromEWKT('SRID=4674;POINT (-40.392858758569 -2.7944925706834)'))) / (select extract(epoch from '2026-07-21 16:06:49'::timestamp) - extract(epoch from '2026-07-21 16:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.392850376666 -2.7945063170046)', '2026-07-21 16:06:50', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392858758569 -2.7944925706834)'), GeomFromEWKT('SRID=4674;POINT (-40.392850376666 -2.7945063170046)'))) / (select extract(epoch from '2026-07-21 16:06:50'::timestamp) - extract(epoch from '2026-07-21 16:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392858758569 -2.7944925706834)'), GeomFromEWKT('SRID=4674;POINT (-40.392850376666 -2.7945063170046)'))) / (select extract(epoch from '2026-07-21 16:06:50'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.392806036398 -2.7945569436997)', '2026-07-21 16:06:54', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392850376666 -2.7945063170046)'), GeomFromEWKT('SRID=4674;POINT (-40.392806036398 -2.7945569436997)'))) / (select extract(epoch from '2026-07-21 16:06:54'::timestamp) - extract(epoch from '2026-07-21 16:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392850376666 -2.7945063170046)'), GeomFromEWKT('SRID=4674;POINT (-40.392806036398 -2.7945569436997)'))) / (select extract(epoch from '2026-07-21 16:06:54'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.392721630633 -2.7946075703949)', '2026-07-21 16:07:01', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392806036398 -2.7945569436997)'), GeomFromEWKT('SRID=4674;POINT (-40.392721630633 -2.7946075703949)'))) / (select extract(epoch from '2026-07-21 16:07:01'::timestamp) - extract(epoch from '2026-07-21 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392806036398 -2.7945569436997)'), GeomFromEWKT('SRID=4674;POINT (-40.392721630633 -2.7946075703949)'))) / (select extract(epoch from '2026-07-21 16:07:01'::timestamp) - extract(epoch from '2026-07-21 16:06: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'), 47833, 'SRID=4674;POINT (-40.392640242353 -2.794702956453)', '2026-07-21 16:07:09', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392721630633 -2.7946075703949)'), GeomFromEWKT('SRID=4674;POINT (-40.392640242353 -2.794702956453)'))) / (select extract(epoch from '2026-07-21 16:07:09'::timestamp) - extract(epoch from '2026-07-21 16:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392721630633 -2.7946075703949)'), GeomFromEWKT('SRID=4674;POINT (-40.392640242353 -2.794702956453)'))) / (select extract(epoch from '2026-07-21 16:07:09'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47833, 'SRID=4674;POINT (-40.392542928457 -2.7947788964957)', '2026-07-21 16:07:16', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392640242353 -2.794702956453)'), GeomFromEWKT('SRID=4674;POINT (-40.392542928457 -2.7947788964957)'))) / (select extract(epoch from '2026-07-21 16:07:16'::timestamp) - extract(epoch from '2026-07-21 16:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392640242353 -2.794702956453)'), GeomFromEWKT('SRID=4674;POINT (-40.392542928457 -2.7947788964957)'))) / (select extract(epoch from '2026-07-21 16:07:16'::timestamp) - extract(epoch from '2026-07-21 16:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.392415020615 -2.7948630508035)', '2026-07-21 16:07:24', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392542928457 -2.7947788964957)'), GeomFromEWKT('SRID=4674;POINT (-40.392415020615 -2.7948630508035)'))) / (select extract(epoch from '2026-07-21 16:07:24'::timestamp) - extract(epoch from '2026-07-21 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392542928457 -2.7947788964957)'), GeomFromEWKT('SRID=4674;POINT (-40.392415020615 -2.7948630508035)'))) / (select extract(epoch from '2026-07-21 16:07:24'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47833, 'SRID=4674;POINT (-40.392306894064 -2.7949544973671)', '2026-07-21 16:07:31', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392415020615 -2.7948630508035)'), GeomFromEWKT('SRID=4674;POINT (-40.392306894064 -2.7949544973671)'))) / (select extract(epoch from '2026-07-21 16:07:31'::timestamp) - extract(epoch from '2026-07-21 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392415020615 -2.7948630508035)'), GeomFromEWKT('SRID=4674;POINT (-40.392306894064 -2.7949544973671)'))) / (select extract(epoch from '2026-07-21 16:07:31'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47833, 'SRID=4674;POINT (-40.39220245555 -2.7950736880302)', '2026-07-21 16:07:39', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392306894064 -2.7949544973671)'), GeomFromEWKT('SRID=4674;POINT (-40.39220245555 -2.7950736880302)'))) / (select extract(epoch from '2026-07-21 16:07:39'::timestamp) - extract(epoch from '2026-07-21 16:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392306894064 -2.7949544973671)'), GeomFromEWKT('SRID=4674;POINT (-40.39220245555 -2.7950736880302)'))) / (select extract(epoch from '2026-07-21 16:07:39'::timestamp) - extract(epoch from '2026-07-21 16:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.392118049785 -2.7951558306813)', '2026-07-21 16:07:46', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39220245555 -2.7950736880302)'), GeomFromEWKT('SRID=4674;POINT (-40.392118049785 -2.7951558306813)'))) / (select extract(epoch from '2026-07-21 16:07:46'::timestamp) - extract(epoch from '2026-07-21 16:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39220245555 -2.7950736880302)'), GeomFromEWKT('SRID=4674;POINT (-40.392118049785 -2.7951558306813)'))) / (select extract(epoch from '2026-07-21 16:07:46'::timestamp) - extract(epoch from '2026-07-21 16:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39203372784 -2.7952675614506)', '2026-07-21 16:07:53', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392118049785 -2.7951558306813)'), GeomFromEWKT('SRID=4674;POINT (-40.39203372784 -2.7952675614506)'))) / (select extract(epoch from '2026-07-21 16:07:53'::timestamp) - extract(epoch from '2026-07-21 16:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392118049785 -2.7951558306813)'), GeomFromEWKT('SRID=4674;POINT (-40.39203372784 -2.7952675614506)'))) / (select extract(epoch from '2026-07-21 16:07:53'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.391905484721 -2.7954208664596)', '2026-07-21 16:08:02', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39203372784 -2.7952675614506)'), GeomFromEWKT('SRID=4674;POINT (-40.391905484721 -2.7954208664596)'))) / (select extract(epoch from '2026-07-21 16:08:02'::timestamp) - extract(epoch from '2026-07-21 16:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39203372784 -2.7952675614506)'), GeomFromEWKT('SRID=4674;POINT (-40.391905484721 -2.7954208664596)'))) / (select extract(epoch from '2026-07-21 16:08:02'::timestamp) - extract(epoch from '2026-07-21 16:07: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'), 47833, 'SRID=4674;POINT (-40.391789143905 -2.7955780271441)', '2026-07-21 16:08:11', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391905484721 -2.7954208664596)'), GeomFromEWKT('SRID=4674;POINT (-40.391789143905 -2.7955780271441)'))) / (select extract(epoch from '2026-07-21 16:08:11'::timestamp) - extract(epoch from '2026-07-21 16:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391905484721 -2.7954208664596)'), GeomFromEWKT('SRID=4674;POINT (-40.391789143905 -2.7955780271441)'))) / (select extract(epoch from '2026-07-21 16:08:11'::timestamp) - extract(epoch from '2026-07-21 16:08: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'), 47833, 'SRID=4674;POINT (-40.391734493896 -2.7956969663501)', '2026-07-21 16:08:18', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391789143905 -2.7955780271441)'), GeomFromEWKT('SRID=4674;POINT (-40.391734493896 -2.7956969663501)'))) / (select extract(epoch from '2026-07-21 16:08:18'::timestamp) - extract(epoch from '2026-07-21 16:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391789143905 -2.7955780271441)'), GeomFromEWKT('SRID=4674;POINT (-40.391734493896 -2.7956969663501)'))) / (select extract(epoch from '2026-07-21 16:08:18'::timestamp) - extract(epoch from '2026-07-21 16:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.391687639058 -2.7957978844643)', '2026-07-21 16:08:24', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391734493896 -2.7956969663501)'), GeomFromEWKT('SRID=4674;POINT (-40.391687639058 -2.7957978844643)'))) / (select extract(epoch from '2026-07-21 16:08:24'::timestamp) - extract(epoch from '2026-07-21 16:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391734493896 -2.7956969663501)'), GeomFromEWKT('SRID=4674;POINT (-40.391687639058 -2.7957978844643)'))) / (select extract(epoch from '2026-07-21 16:08:24'::timestamp) - extract(epoch from '2026-07-21 16:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.391620164737 -2.7959241997451)', '2026-07-21 16:08:31', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391687639058 -2.7957978844643)'), GeomFromEWKT('SRID=4674;POINT (-40.391620164737 -2.7959241997451)'))) / (select extract(epoch from '2026-07-21 16:08:31'::timestamp) - extract(epoch from '2026-07-21 16:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391687639058 -2.7957978844643)'), GeomFromEWKT('SRID=4674;POINT (-40.391620164737 -2.7959241997451)'))) / (select extract(epoch from '2026-07-21 16:08:31'::timestamp) - extract(epoch from '2026-07-21 16:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39154112339 -2.796050850302)', '2026-07-21 16:08:38', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391620164737 -2.7959241997451)'), GeomFromEWKT('SRID=4674;POINT (-40.39154112339 -2.796050850302)'))) / (select extract(epoch from '2026-07-21 16:08:38'::timestamp) - extract(epoch from '2026-07-21 16:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391620164737 -2.7959241997451)'), GeomFromEWKT('SRID=4674;POINT (-40.39154112339 -2.796050850302)'))) / (select extract(epoch from '2026-07-21 16:08:38'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.391480857506 -2.7961510978639)', '2026-07-21 16:08:44', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39154112339 -2.796050850302)'), GeomFromEWKT('SRID=4674;POINT (-40.391480857506 -2.7961510978639)'))) / (select extract(epoch from '2026-07-21 16:08:44'::timestamp) - extract(epoch from '2026-07-21 16:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39154112339 -2.796050850302)'), GeomFromEWKT('SRID=4674;POINT (-40.391480857506 -2.7961510978639)'))) / (select extract(epoch from '2026-07-21 16:08:44'::timestamp) - extract(epoch from '2026-07-21 16:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.391431823373 -2.7962439693511)', '2026-07-21 16:08:50', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391480857506 -2.7961510978639)'), GeomFromEWKT('SRID=4674;POINT (-40.391431823373 -2.7962439693511)'))) / (select extract(epoch from '2026-07-21 16:08:50'::timestamp) - extract(epoch from '2026-07-21 16:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391480857506 -2.7961510978639)'), GeomFromEWKT('SRID=4674;POINT (-40.391431823373 -2.7962439693511)'))) / (select extract(epoch from '2026-07-21 16:08:50'::timestamp) - extract(epoch from '2026-07-21 16:08: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'), 47833, 'SRID=4674;POINT (-40.391393685713 -2.7963412832469)', '2026-07-21 16:08:56', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391431823373 -2.7962439693511)'), GeomFromEWKT('SRID=4674;POINT (-40.391393685713 -2.7963412832469)'))) / (select extract(epoch from '2026-07-21 16:08:56'::timestamp) - extract(epoch from '2026-07-21 16:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391431823373 -2.7962439693511)'), GeomFromEWKT('SRID=4674;POINT (-40.391393685713 -2.7963412832469)'))) / (select extract(epoch from '2026-07-21 16:08:56'::timestamp) - extract(epoch from '2026-07-21 16:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.391326630488 -2.7964583784342)', '2026-07-21 16:09:03', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391393685713 -2.7963412832469)'), GeomFromEWKT('SRID=4674;POINT (-40.391326630488 -2.7964583784342)'))) / (select extract(epoch from '2026-07-21 16:09:03'::timestamp) - extract(epoch from '2026-07-21 16:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391393685713 -2.7963412832469)'), GeomFromEWKT('SRID=4674;POINT (-40.391326630488 -2.7964583784342)'))) / (select extract(epoch from '2026-07-21 16:09:03'::timestamp) - extract(epoch from '2026-07-21 16:08: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'), 47833, 'SRID=4674;POINT (-40.391226299107 -2.7966183889657)', '2026-07-21 16:09:12', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391326630488 -2.7964583784342)'), GeomFromEWKT('SRID=4674;POINT (-40.391226299107 -2.7966183889657)'))) / (select extract(epoch from '2026-07-21 16:09:12'::timestamp) - extract(epoch from '2026-07-21 16:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391326630488 -2.7964583784342)'), GeomFromEWKT('SRID=4674;POINT (-40.391226299107 -2.7966183889657)'))) / (select extract(epoch from '2026-07-21 16:09:12'::timestamp) - extract(epoch from '2026-07-21 16:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.391145832837 -2.7967064827681)', '2026-07-21 16:09:19', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391226299107 -2.7966183889657)'), GeomFromEWKT('SRID=4674;POINT (-40.391145832837 -2.7967064827681)'))) / (select extract(epoch from '2026-07-21 16:09:19'::timestamp) - extract(epoch from '2026-07-21 16:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391226299107 -2.7966183889657)'), GeomFromEWKT('SRID=4674;POINT (-40.391145832837 -2.7967064827681)'))) / (select extract(epoch from '2026-07-21 16:09:19'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47833, 'SRID=4674;POINT (-40.391045752913 -2.7968190517277)', '2026-07-21 16:09:27', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391145832837 -2.7967064827681)'), GeomFromEWKT('SRID=4674;POINT (-40.391045752913 -2.7968190517277)'))) / (select extract(epoch from '2026-07-21 16:09:27'::timestamp) - extract(epoch from '2026-07-21 16:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391145832837 -2.7967064827681)'), GeomFromEWKT('SRID=4674;POINT (-40.391045752913 -2.7968190517277)'))) / (select extract(epoch from '2026-07-21 16:09:27'::timestamp) - extract(epoch from '2026-07-21 16:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390942068771 -2.7969033736736)', '2026-07-21 16:09:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391045752913 -2.7968190517277)'), GeomFromEWKT('SRID=4674;POINT (-40.390942068771 -2.7969033736736)'))) / (select extract(epoch from '2026-07-21 16:09:34'::timestamp) - extract(epoch from '2026-07-21 16:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391045752913 -2.7968190517277)'), GeomFromEWKT('SRID=4674;POINT (-40.390942068771 -2.7969033736736)'))) / (select extract(epoch from '2026-07-21 16:09:34'::timestamp) - extract(epoch from '2026-07-21 16:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390807120129 -2.796978559345)', '2026-07-21 16:09:43', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390942068771 -2.7969033736736)'), GeomFromEWKT('SRID=4674;POINT (-40.390807120129 -2.796978559345)'))) / (select extract(epoch from '2026-07-21 16:09:43'::timestamp) - extract(epoch from '2026-07-21 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390942068771 -2.7969033736736)'), GeomFromEWKT('SRID=4674;POINT (-40.390807120129 -2.796978559345)'))) / (select extract(epoch from '2026-07-21 16:09:43'::timestamp) - extract(epoch from '2026-07-21 16:09: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'), 47833, 'SRID=4674;POINT (-40.390732856467 -2.7970844227821)', '2026-07-21 16:09:50', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390807120129 -2.796978559345)'), GeomFromEWKT('SRID=4674;POINT (-40.390732856467 -2.7970844227821)'))) / (select extract(epoch from '2026-07-21 16:09:50'::timestamp) - extract(epoch from '2026-07-21 16:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390807120129 -2.796978559345)'), GeomFromEWKT('SRID=4674;POINT (-40.390732856467 -2.7970844227821)'))) / (select extract(epoch from '2026-07-21 16:09:50'::timestamp) - extract(epoch from '2026-07-21 16:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.39067292586 -2.7972076367587)', '2026-07-21 16:09:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390732856467 -2.7970844227821)'), GeomFromEWKT('SRID=4674;POINT (-40.39067292586 -2.7972076367587)'))) / (select extract(epoch from '2026-07-21 16:09:57'::timestamp) - extract(epoch from '2026-07-21 16:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390732856467 -2.7970844227821)'), GeomFromEWKT('SRID=4674;POINT (-40.39067292586 -2.7972076367587)'))) / (select extract(epoch from '2026-07-21 16:09:57'::timestamp) - extract(epoch from '2026-07-21 16:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390580557287 -2.7973172720522)', '2026-07-21 16:10:05', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39067292586 -2.7972076367587)'), GeomFromEWKT('SRID=4674;POINT (-40.390580557287 -2.7973172720522)'))) / (select extract(epoch from '2026-07-21 16:10:05'::timestamp) - extract(epoch from '2026-07-21 16:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39067292586 -2.7972076367587)'), GeomFromEWKT('SRID=4674;POINT (-40.390580557287 -2.7973172720522)'))) / (select extract(epoch from '2026-07-21 16:10:05'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.390461031348 -2.7974528912455)', '2026-07-21 16:10:13', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390580557287 -2.7973172720522)'), GeomFromEWKT('SRID=4674;POINT (-40.390461031348 -2.7974528912455)'))) / (select extract(epoch from '2026-07-21 16:10:13'::timestamp) - extract(epoch from '2026-07-21 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390580557287 -2.7973172720522)'), GeomFromEWKT('SRID=4674;POINT (-40.390461031348 -2.7974528912455)'))) / (select extract(epoch from '2026-07-21 16:10:13'::timestamp) - extract(epoch from '2026-07-21 16:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390379140154 -2.7975581679493)', '2026-07-21 16:10:20', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390461031348 -2.7974528912455)'), GeomFromEWKT('SRID=4674;POINT (-40.390379140154 -2.7975581679493)'))) / (select extract(epoch from '2026-07-21 16:10:20'::timestamp) - extract(epoch from '2026-07-21 16:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390461031348 -2.7974528912455)'), GeomFromEWKT('SRID=4674;POINT (-40.390379140154 -2.7975581679493)'))) / (select extract(epoch from '2026-07-21 16:10:20'::timestamp) - extract(epoch from '2026-07-21 16:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390291633084 -2.7976778615266)', '2026-07-21 16:10:28', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390379140154 -2.7975581679493)'), GeomFromEWKT('SRID=4674;POINT (-40.390291633084 -2.7976778615266)'))) / (select extract(epoch from '2026-07-21 16:10:28'::timestamp) - extract(epoch from '2026-07-21 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390379140154 -2.7975581679493)'), GeomFromEWKT('SRID=4674;POINT (-40.390291633084 -2.7976778615266)'))) / (select extract(epoch from '2026-07-21 16:10:28'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47833, 'SRID=4674;POINT (-40.390224661678 -2.7977631893009)', '2026-07-21 16:10:34', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390291633084 -2.7976778615266)'), GeomFromEWKT('SRID=4674;POINT (-40.390224661678 -2.7977631893009)'))) / (select extract(epoch from '2026-07-21 16:10:34'::timestamp) - extract(epoch from '2026-07-21 16:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390291633084 -2.7976778615266)'), GeomFromEWKT('SRID=4674;POINT (-40.390224661678 -2.7977631893009)'))) / (select extract(epoch from '2026-07-21 16:10:34'::timestamp) - extract(epoch from '2026-07-21 16:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390127096325 -2.797887576744)', '2026-07-21 16:10:42', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390224661678 -2.7977631893009)'), GeomFromEWKT('SRID=4674;POINT (-40.390127096325 -2.797887576744)'))) / (select extract(epoch from '2026-07-21 16:10:42'::timestamp) - extract(epoch from '2026-07-21 16:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390224661678 -2.7977631893009)'), GeomFromEWKT('SRID=4674;POINT (-40.390127096325 -2.797887576744)'))) / (select extract(epoch from '2026-07-21 16:10:42'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47833, 'SRID=4674;POINT (-40.3900582809 -2.798025039956)', '2026-07-21 16:10:50', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390127096325 -2.797887576744)'), GeomFromEWKT('SRID=4674;POINT (-40.3900582809 -2.798025039956)'))) / (select extract(epoch from '2026-07-21 16:10:50'::timestamp) - extract(epoch from '2026-07-21 16:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390127096325 -2.797887576744)'), GeomFromEWKT('SRID=4674;POINT (-40.3900582809 -2.798025039956)'))) / (select extract(epoch from '2026-07-21 16:10:50'::timestamp) - extract(epoch from '2026-07-21 16:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.390001032501 -2.7981265448034)', '2026-07-21 16:10:57', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3900582809 -2.798025039956)'), GeomFromEWKT('SRID=4674;POINT (-40.390001032501 -2.7981265448034)'))) / (select extract(epoch from '2026-07-21 16:10:57'::timestamp) - extract(epoch from '2026-07-21 16:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3900582809 -2.798025039956)'), GeomFromEWKT('SRID=4674;POINT (-40.390001032501 -2.7981265448034)'))) / (select extract(epoch from '2026-07-21 16:10:57'::timestamp) - extract(epoch from '2026-07-21 16:10: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'), 47833, 'SRID=4674;POINT (-40.389887625352 -2.7982842922211)', '2026-07-21 16:11:06', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001032501 -2.7981265448034)'), GeomFromEWKT('SRID=4674;POINT (-40.389887625352 -2.7982842922211)'))) / (select extract(epoch from '2026-07-21 16:11:06'::timestamp) - extract(epoch from '2026-07-21 16:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390001032501 -2.7981265448034)'), GeomFromEWKT('SRID=4674;POINT (-40.389887625352 -2.7982842922211)'))) / (select extract(epoch from '2026-07-21 16:11:06'::timestamp) - extract(epoch from '2026-07-21 16:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.38980204612 -2.7984051592648)', '2026-07-21 16:11:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389887625352 -2.7982842922211)'), GeomFromEWKT('SRID=4674;POINT (-40.38980204612 -2.7984051592648)'))) / (select extract(epoch from '2026-07-21 16:11:13'::timestamp) - extract(epoch from '2026-07-21 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389887625352 -2.7982842922211)'), GeomFromEWKT('SRID=4674;POINT (-40.38980204612 -2.7984051592648)'))) / (select extract(epoch from '2026-07-21 16:11:13'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47833, 'SRID=4674;POINT (-40.389692075551 -2.7985320612788)', '2026-07-21 16:11:20', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38980204612 -2.7984051592648)'), GeomFromEWKT('SRID=4674;POINT (-40.389692075551 -2.7985320612788)'))) / (select extract(epoch from '2026-07-21 16:11:20'::timestamp) - extract(epoch from '2026-07-21 16:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38980204612 -2.7984051592648)'), GeomFromEWKT('SRID=4674;POINT (-40.389692075551 -2.7985320612788)'))) / (select extract(epoch from '2026-07-21 16:11:20'::timestamp) - extract(epoch from '2026-07-21 16:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.389601467177 -2.7986557781696)', '2026-07-21 16:11:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389692075551 -2.7985320612788)'), GeomFromEWKT('SRID=4674;POINT (-40.389601467177 -2.7986557781696)'))) / (select extract(epoch from '2026-07-21 16:11:27'::timestamp) - extract(epoch from '2026-07-21 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389692075551 -2.7985320612788)'), GeomFromEWKT('SRID=4674;POINT (-40.389601467177 -2.7986557781696)'))) / (select extract(epoch from '2026-07-21 16:11:27'::timestamp) - extract(epoch from '2026-07-21 16:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.389543296769 -2.7987776510417)', '2026-07-21 16:11:34', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389601467177 -2.7986557781696)'), GeomFromEWKT('SRID=4674;POINT (-40.389543296769 -2.7987776510417)'))) / (select extract(epoch from '2026-07-21 16:11:34'::timestamp) - extract(epoch from '2026-07-21 16:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389601467177 -2.7986557781696)'), GeomFromEWKT('SRID=4674;POINT (-40.389543296769 -2.7987776510417)'))) / (select extract(epoch from '2026-07-21 16:11:34'::timestamp) - extract(epoch from '2026-07-21 16:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.389447659254 -2.7989154495299)', '2026-07-21 16:11:43', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389543296769 -2.7987776510417)'), GeomFromEWKT('SRID=4674;POINT (-40.389447659254 -2.7989154495299)'))) / (select extract(epoch from '2026-07-21 16:11:43'::timestamp) - extract(epoch from '2026-07-21 16:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389543296769 -2.7987776510417)'), GeomFromEWKT('SRID=4674;POINT (-40.389447659254 -2.7989154495299)'))) / (select extract(epoch from '2026-07-21 16:11:43'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47833, 'SRID=4674;POINT (-40.389337772503 -2.7990195527673)', '2026-07-21 16:11:50', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389447659254 -2.7989154495299)'), GeomFromEWKT('SRID=4674;POINT (-40.389337772503 -2.7990195527673)'))) / (select extract(epoch from '2026-07-21 16:11:50'::timestamp) - extract(epoch from '2026-07-21 16:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389447659254 -2.7989154495299)'), GeomFromEWKT('SRID=4674;POINT (-40.389337772503 -2.7990195527673)'))) / (select extract(epoch from '2026-07-21 16:11:50'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47833, 'SRID=4674;POINT (-40.38923677057 -2.7991360612214)', '2026-07-21 16:11:56', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389337772503 -2.7990195527673)'), GeomFromEWKT('SRID=4674;POINT (-40.38923677057 -2.7991360612214)'))) / (select extract(epoch from '2026-07-21 16:11:56'::timestamp) - extract(epoch from '2026-07-21 16:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389337772503 -2.7990195527673)'), GeomFromEWKT('SRID=4674;POINT (-40.38923677057 -2.7991360612214)'))) / (select extract(epoch from '2026-07-21 16:11:56'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47833, 'SRID=4674;POINT (-40.389171643183 -2.7992045413703)', '2026-07-21 16:12:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38923677057 -2.7991360612214)'), GeomFromEWKT('SRID=4674;POINT (-40.389171643183 -2.7992045413703)'))) / (select extract(epoch from '2026-07-21 16:12:02'::timestamp) - extract(epoch from '2026-07-21 16:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38923677057 -2.7991360612214)'), GeomFromEWKT('SRID=4674;POINT (-40.389171643183 -2.7992045413703)'))) / (select extract(epoch from '2026-07-21 16:12:02'::timestamp) - extract(epoch from '2026-07-21 16:11: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'), 47833, 'SRID=4674;POINT (-40.389106348157 -2.7992844209075)', '2026-07-21 16:12:09', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389171643183 -2.7992045413703)'), GeomFromEWKT('SRID=4674;POINT (-40.389106348157 -2.7992844209075)'))) / (select extract(epoch from '2026-07-21 16:12:09'::timestamp) - extract(epoch from '2026-07-21 16:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389171643183 -2.7992045413703)'), GeomFromEWKT('SRID=4674;POINT (-40.389106348157 -2.7992844209075)'))) / (select extract(epoch from '2026-07-21 16:12:09'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.388998556882 -2.7993682399392)', '2026-07-21 16:12:18', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389106348157 -2.7992844209075)'), GeomFromEWKT('SRID=4674;POINT (-40.388998556882 -2.7993682399392)'))) / (select extract(epoch from '2026-07-21 16:12:18'::timestamp) - extract(epoch from '2026-07-21 16:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389106348157 -2.7992844209075)'), GeomFromEWKT('SRID=4674;POINT (-40.388998556882 -2.7993682399392)'))) / (select extract(epoch from '2026-07-21 16:12:18'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.388907361776 -2.7994676493108)', '2026-07-21 16:12:25', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388998556882 -2.7993682399392)'), GeomFromEWKT('SRID=4674;POINT (-40.388907361776 -2.7994676493108)'))) / (select extract(epoch from '2026-07-21 16:12:25'::timestamp) - extract(epoch from '2026-07-21 16:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388998556882 -2.7993682399392)'), GeomFromEWKT('SRID=4674;POINT (-40.388907361776 -2.7994676493108)'))) / (select extract(epoch from '2026-07-21 16:12:25'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.388821698725 -2.7995296753943)', '2026-07-21 16:12:31', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388907361776 -2.7994676493108)'), GeomFromEWKT('SRID=4674;POINT (-40.388821698725 -2.7995296753943)'))) / (select extract(epoch from '2026-07-21 16:12:31'::timestamp) - extract(epoch from '2026-07-21 16:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388907361776 -2.7994676493108)'), GeomFromEWKT('SRID=4674;POINT (-40.388821698725 -2.7995296753943)'))) / (select extract(epoch from '2026-07-21 16:12:31'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.388721786439 -2.7996202837676)', '2026-07-21 16:12:38', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388821698725 -2.7995296753943)'), GeomFromEWKT('SRID=4674;POINT (-40.388721786439 -2.7996202837676)'))) / (select extract(epoch from '2026-07-21 16:12:38'::timestamp) - extract(epoch from '2026-07-21 16:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388821698725 -2.7995296753943)'), GeomFromEWKT('SRID=4674;POINT (-40.388721786439 -2.7996202837676)'))) / (select extract(epoch from '2026-07-21 16:12:38'::timestamp) - extract(epoch from '2026-07-21 16:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.388639727607 -2.7997260633856)', '2026-07-21 16:12:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388721786439 -2.7996202837676)'), GeomFromEWKT('SRID=4674;POINT (-40.388639727607 -2.7997260633856)'))) / (select extract(epoch from '2026-07-21 16:12:45'::timestamp) - extract(epoch from '2026-07-21 16:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388721786439 -2.7996202837676)'), GeomFromEWKT('SRID=4674;POINT (-40.388639727607 -2.7997260633856)'))) / (select extract(epoch from '2026-07-21 16:12:45'::timestamp) - extract(epoch from '2026-07-21 16:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.388548448682 -2.7998813800514)', '2026-07-21 16:12:53', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639727607 -2.7997260633856)'), GeomFromEWKT('SRID=4674;POINT (-40.388548448682 -2.7998813800514)'))) / (select extract(epoch from '2026-07-21 16:12:53'::timestamp) - extract(epoch from '2026-07-21 16:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388639727607 -2.7997260633856)'), GeomFromEWKT('SRID=4674;POINT (-40.388548448682 -2.7998813800514)'))) / (select extract(epoch from '2026-07-21 16:12:53'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.388487679884 -2.7999932784587)', '2026-07-21 16:13:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388548448682 -2.7998813800514)'), GeomFromEWKT('SRID=4674;POINT (-40.388487679884 -2.7999932784587)'))) / (select extract(epoch from '2026-07-21 16:13:00'::timestamp) - extract(epoch from '2026-07-21 16:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388548448682 -2.7998813800514)'), GeomFromEWKT('SRID=4674;POINT (-40.388487679884 -2.7999932784587)'))) / (select extract(epoch from '2026-07-21 16:13:00'::timestamp) - extract(epoch from '2026-07-21 16:12: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'), 47833, 'SRID=4674;POINT (-40.38841358386 -2.8001072723418)', '2026-07-21 16:13:08', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388487679884 -2.7999932784587)'), GeomFromEWKT('SRID=4674;POINT (-40.38841358386 -2.8001072723418)'))) / (select extract(epoch from '2026-07-21 16:13:08'::timestamp) - extract(epoch from '2026-07-21 16:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388487679884 -2.7999932784587)'), GeomFromEWKT('SRID=4674;POINT (-40.38841358386 -2.8001072723418)'))) / (select extract(epoch from '2026-07-21 16:13:08'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.38833563216 -2.8002485912293)', '2026-07-21 16:13:16', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38841358386 -2.8001072723418)'), GeomFromEWKT('SRID=4674;POINT (-40.38833563216 -2.8002485912293)'))) / (select extract(epoch from '2026-07-21 16:13:16'::timestamp) - extract(epoch from '2026-07-21 16:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38841358386 -2.8001072723418)'), GeomFromEWKT('SRID=4674;POINT (-40.38833563216 -2.8002485912293)'))) / (select extract(epoch from '2026-07-21 16:13:16'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.388269582763 -2.8003840427846)', '2026-07-21 16:13:24', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833563216 -2.8002485912293)'), GeomFromEWKT('SRID=4674;POINT (-40.388269582763 -2.8003840427846)'))) / (select extract(epoch from '2026-07-21 16:13:24'::timestamp) - extract(epoch from '2026-07-21 16:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833563216 -2.8002485912293)'), GeomFromEWKT('SRID=4674;POINT (-40.388269582763 -2.8003840427846)'))) / (select extract(epoch from '2026-07-21 16:13:24'::timestamp) - extract(epoch from '2026-07-21 16:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.388221554458 -2.8004731424153)', '2026-07-21 16:13:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388269582763 -2.8003840427846)'), GeomFromEWKT('SRID=4674;POINT (-40.388221554458 -2.8004731424153)'))) / (select extract(epoch from '2026-07-21 16:13:29'::timestamp) - extract(epoch from '2026-07-21 16:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388269582763 -2.8003840427846)'), GeomFromEWKT('SRID=4674;POINT (-40.388221554458 -2.8004731424153)'))) / (select extract(epoch from '2026-07-21 16:13:29'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.388122396544 -2.8006224241108)', '2026-07-21 16:13:37', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388221554458 -2.8004731424153)'), GeomFromEWKT('SRID=4674;POINT (-40.388122396544 -2.8006224241108)'))) / (select extract(epoch from '2026-07-21 16:13:37'::timestamp) - extract(epoch from '2026-07-21 16:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388221554458 -2.8004731424153)'), GeomFromEWKT('SRID=4674;POINT (-40.388122396544 -2.8006224241108)'))) / (select extract(epoch from '2026-07-21 16:13:37'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.388006558642 -2.8007596358657)', '2026-07-21 16:13:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388122396544 -2.8006224241108)'), GeomFromEWKT('SRID=4674;POINT (-40.388006558642 -2.8007596358657)'))) / (select extract(epoch from '2026-07-21 16:13:45'::timestamp) - extract(epoch from '2026-07-21 16:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388122396544 -2.8006224241108)'), GeomFromEWKT('SRID=4674;POINT (-40.388006558642 -2.8007596358657)'))) / (select extract(epoch from '2026-07-21 16:13:45'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.3879513219 -2.8008724562824)', '2026-07-21 16:13:51', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388006558642 -2.8007596358657)'), GeomFromEWKT('SRID=4674;POINT (-40.3879513219 -2.8008724562824)'))) / (select extract(epoch from '2026-07-21 16:13:51'::timestamp) - extract(epoch from '2026-07-21 16:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388006558642 -2.8007596358657)'), GeomFromEWKT('SRID=4674;POINT (-40.3879513219 -2.8008724562824)'))) / (select extract(epoch from '2026-07-21 16:13:51'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.387857193127 -2.8009608853608)', '2026-07-21 16:13:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3879513219 -2.8008724562824)'), GeomFromEWKT('SRID=4674;POINT (-40.387857193127 -2.8009608853608)'))) / (select extract(epoch from '2026-07-21 16:13:57'::timestamp) - extract(epoch from '2026-07-21 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3879513219 -2.8008724562824)'), GeomFromEWKT('SRID=4674;POINT (-40.387857193127 -2.8009608853608)'))) / (select extract(epoch from '2026-07-21 16:13:57'::timestamp) - extract(epoch from '2026-07-21 16:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.387791730464 -2.801069682464)', '2026-07-21 16:14:03', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387857193127 -2.8009608853608)'), GeomFromEWKT('SRID=4674;POINT (-40.387791730464 -2.801069682464)'))) / (select extract(epoch from '2026-07-21 16:14:03'::timestamp) - extract(epoch from '2026-07-21 16:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387857193127 -2.8009608853608)'), GeomFromEWKT('SRID=4674;POINT (-40.387791730464 -2.801069682464)'))) / (select extract(epoch from '2026-07-21 16:14:03'::timestamp) - extract(epoch from '2026-07-21 16:13: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'), 47833, 'SRID=4674;POINT (-40.387730626389 -2.801217790693)', '2026-07-21 16:14:11', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387791730464 -2.801069682464)'), GeomFromEWKT('SRID=4674;POINT (-40.387730626389 -2.801217790693)'))) / (select extract(epoch from '2026-07-21 16:14:11'::timestamp) - extract(epoch from '2026-07-21 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387791730464 -2.801069682464)'), GeomFromEWKT('SRID=4674;POINT (-40.387730626389 -2.801217790693)'))) / (select extract(epoch from '2026-07-21 16:14:11'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.38765443489 -2.8013173677027)', '2026-07-21 16:14:18', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387730626389 -2.801217790693)'), GeomFromEWKT('SRID=4674;POINT (-40.38765443489 -2.8013173677027)'))) / (select extract(epoch from '2026-07-21 16:14:18'::timestamp) - extract(epoch from '2026-07-21 16:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387730626389 -2.801217790693)'), GeomFromEWKT('SRID=4674;POINT (-40.38765443489 -2.8013173677027)'))) / (select extract(epoch from '2026-07-21 16:14:18'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.38755913265 -2.8013878595084)', '2026-07-21 16:14:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38765443489 -2.8013173677027)'), GeomFromEWKT('SRID=4674;POINT (-40.38755913265 -2.8013878595084)'))) / (select extract(epoch from '2026-07-21 16:14:25'::timestamp) - extract(epoch from '2026-07-21 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38765443489 -2.8013173677027)'), GeomFromEWKT('SRID=4674;POINT (-40.38755913265 -2.8013878595084)'))) / (select extract(epoch from '2026-07-21 16:14:25'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.387473218143 -2.8014375641942)', '2026-07-21 16:14:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38755913265 -2.8013878595084)'), GeomFromEWKT('SRID=4674;POINT (-40.387473218143 -2.8014375641942)'))) / (select extract(epoch from '2026-07-21 16:14:32'::timestamp) - extract(epoch from '2026-07-21 16:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38755913265 -2.8013878595084)'), GeomFromEWKT('SRID=4674;POINT (-40.387473218143 -2.8014375641942)'))) / (select extract(epoch from '2026-07-21 16:14:32'::timestamp) - extract(epoch from '2026-07-21 16:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.387386465445 -2.8015043679625)', '2026-07-21 16:14:38', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473218143 -2.8014375641942)'), GeomFromEWKT('SRID=4674;POINT (-40.387386465445 -2.8015043679625)'))) / (select extract(epoch from '2026-07-21 16:14:38'::timestamp) - extract(epoch from '2026-07-21 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387473218143 -2.8014375641942)'), GeomFromEWKT('SRID=4674;POINT (-40.387386465445 -2.8015043679625)'))) / (select extract(epoch from '2026-07-21 16:14:38'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.387247996405 -2.801550552249)', '2026-07-21 16:14:47', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387386465445 -2.8015043679625)'), GeomFromEWKT('SRID=4674;POINT (-40.387247996405 -2.801550552249)'))) / (select extract(epoch from '2026-07-21 16:14:47'::timestamp) - extract(epoch from '2026-07-21 16:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387386465445 -2.8015043679625)'), GeomFromEWKT('SRID=4674;POINT (-40.387247996405 -2.801550552249)'))) / (select extract(epoch from '2026-07-21 16:14:47'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.387141294777 -2.8015687409788)', '2026-07-21 16:14:54', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387247996405 -2.801550552249)'), GeomFromEWKT('SRID=4674;POINT (-40.387141294777 -2.8015687409788)'))) / (select extract(epoch from '2026-07-21 16:14:54'::timestamp) - extract(epoch from '2026-07-21 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387247996405 -2.801550552249)'), GeomFromEWKT('SRID=4674;POINT (-40.387141294777 -2.8015687409788)'))) / (select extract(epoch from '2026-07-21 16:14:54'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.387016069144 -2.8015950601548)', '2026-07-21 16:15:03', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387141294777 -2.8015687409788)'), GeomFromEWKT('SRID=4674;POINT (-40.387016069144 -2.8015950601548)'))) / (select extract(epoch from '2026-07-21 16:15:03'::timestamp) - extract(epoch from '2026-07-21 16:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387141294777 -2.8015687409788)'), GeomFromEWKT('SRID=4674;POINT (-40.387016069144 -2.8015950601548)'))) / (select extract(epoch from '2026-07-21 16:15:03'::timestamp) - extract(epoch from '2026-07-21 16:14: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'), 47833, 'SRID=4674;POINT (-40.386934345588 -2.8016562480479)', '2026-07-21 16:15:09', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387016069144 -2.8015950601548)'), GeomFromEWKT('SRID=4674;POINT (-40.386934345588 -2.8016562480479)'))) / (select extract(epoch from '2026-07-21 16:15:09'::timestamp) - extract(epoch from '2026-07-21 16:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387016069144 -2.8015950601548)'), GeomFromEWKT('SRID=4674;POINT (-40.386934345588 -2.8016562480479)'))) / (select extract(epoch from '2026-07-21 16:15:09'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386858992279 -2.8017311822623)', '2026-07-21 16:15:15', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386934345588 -2.8016562480479)'), GeomFromEWKT('SRID=4674;POINT (-40.386858992279 -2.8017311822623)'))) / (select extract(epoch from '2026-07-21 16:15:15'::timestamp) - extract(epoch from '2026-07-21 16:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386934345588 -2.8016562480479)'), GeomFromEWKT('SRID=4674;POINT (-40.386858992279 -2.8017311822623)'))) / (select extract(epoch from '2026-07-21 16:15:15'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386801324785 -2.8018318489194)', '2026-07-21 16:15:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386858992279 -2.8017311822623)'), GeomFromEWKT('SRID=4674;POINT (-40.386801324785 -2.8018318489194)'))) / (select extract(epoch from '2026-07-21 16:15:21'::timestamp) - extract(epoch from '2026-07-21 16:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386858992279 -2.8017311822623)'), GeomFromEWKT('SRID=4674;POINT (-40.386801324785 -2.8018318489194)'))) / (select extract(epoch from '2026-07-21 16:15:21'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386742483824 -2.8019407298416)', '2026-07-21 16:15:28', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386801324785 -2.8018318489194)'), GeomFromEWKT('SRID=4674;POINT (-40.386742483824 -2.8019407298416)'))) / (select extract(epoch from '2026-07-21 16:15:28'::timestamp) - extract(epoch from '2026-07-21 16:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386801324785 -2.8018318489194)'), GeomFromEWKT('SRID=4674;POINT (-40.386742483824 -2.8019407298416)'))) / (select extract(epoch from '2026-07-21 16:15:28'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386674338952 -2.8020683862269)', '2026-07-21 16:15:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386742483824 -2.8019407298416)'), GeomFromEWKT('SRID=4674;POINT (-40.386674338952 -2.8020683862269)'))) / (select extract(epoch from '2026-07-21 16:15:35'::timestamp) - extract(epoch from '2026-07-21 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386742483824 -2.8019407298416)'), GeomFromEWKT('SRID=4674;POINT (-40.386674338952 -2.8020683862269)'))) / (select extract(epoch from '2026-07-21 16:15:35'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.386583060026 -2.8021949529648)', '2026-07-21 16:15:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386674338952 -2.8020683862269)'), GeomFromEWKT('SRID=4674;POINT (-40.386583060026 -2.8021949529648)'))) / (select extract(epoch from '2026-07-21 16:15:43'::timestamp) - extract(epoch from '2026-07-21 16:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386674338952 -2.8020683862269)'), GeomFromEWKT('SRID=4674;POINT (-40.386583060026 -2.8021949529648)'))) / (select extract(epoch from '2026-07-21 16:15:43'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386492284015 -2.8022869862616)', '2026-07-21 16:15:50', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386583060026 -2.8021949529648)'), GeomFromEWKT('SRID=4674;POINT (-40.386492284015 -2.8022869862616)'))) / (select extract(epoch from '2026-07-21 16:15:50'::timestamp) - extract(epoch from '2026-07-21 16:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386583060026 -2.8021949529648)'), GeomFromEWKT('SRID=4674;POINT (-40.386492284015 -2.8022869862616)'))) / (select extract(epoch from '2026-07-21 16:15:50'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386357922107 -2.8023570589721)', '2026-07-21 16:15:58', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386492284015 -2.8022869862616)'), GeomFromEWKT('SRID=4674;POINT (-40.386357922107 -2.8023570589721)'))) / (select extract(epoch from '2026-07-21 16:15:58'::timestamp) - extract(epoch from '2026-07-21 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386492284015 -2.8022869862616)'), GeomFromEWKT('SRID=4674;POINT (-40.386357922107 -2.8023570589721)'))) / (select extract(epoch from '2026-07-21 16:15:58'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386237222701 -2.8024245332927)', '2026-07-21 16:16:06', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386357922107 -2.8023570589721)'), GeomFromEWKT('SRID=4674;POINT (-40.386237222701 -2.8024245332927)'))) / (select extract(epoch from '2026-07-21 16:16:06'::timestamp) - extract(epoch from '2026-07-21 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386357922107 -2.8023570589721)'), GeomFromEWKT('SRID=4674;POINT (-40.386237222701 -2.8024245332927)'))) / (select extract(epoch from '2026-07-21 16:16:06'::timestamp) - extract(epoch from '2026-07-21 16:15: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'), 47833, 'SRID=4674;POINT (-40.386130521074 -2.8025059215724)', '2026-07-21 16:16:13', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386237222701 -2.8024245332927)'), GeomFromEWKT('SRID=4674;POINT (-40.386130521074 -2.8025059215724)'))) / (select extract(epoch from '2026-07-21 16:16:13'::timestamp) - extract(epoch from '2026-07-21 16:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386237222701 -2.8024245332927)'), GeomFromEWKT('SRID=4674;POINT (-40.386130521074 -2.8025059215724)'))) / (select extract(epoch from '2026-07-21 16:16:13'::timestamp) - extract(epoch from '2026-07-21 16:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.386029686779 -2.8025902435184)', '2026-07-21 16:16:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386130521074 -2.8025059215724)'), GeomFromEWKT('SRID=4674;POINT (-40.386029686779 -2.8025902435184)'))) / (select extract(epoch from '2026-07-21 16:16:20'::timestamp) - extract(epoch from '2026-07-21 16:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386130521074 -2.8025059215724)'), GeomFromEWKT('SRID=4674;POINT (-40.386029686779 -2.8025902435184)'))) / (select extract(epoch from '2026-07-21 16:16:20'::timestamp) - extract(epoch from '2026-07-21 16:16: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'), 47833, 'SRID=4674;POINT (-40.385952237993 -2.8026507608593)', '2026-07-21 16:16:25', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386029686779 -2.8025902435184)'), GeomFromEWKT('SRID=4674;POINT (-40.385952237993 -2.8026507608593)'))) / (select extract(epoch from '2026-07-21 16:16:25'::timestamp) - extract(epoch from '2026-07-21 16:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386029686779 -2.8025902435184)'), GeomFromEWKT('SRID=4674;POINT (-40.385952237993 -2.8026507608593)'))) / (select extract(epoch from '2026-07-21 16:16:25'::timestamp) - extract(epoch from '2026-07-21 16:16: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'), 47833, 'SRID=4674;POINT (-40.385829694569 -2.8027027286589)', '2026-07-21 16:16:32', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385952237993 -2.8026507608593)'), GeomFromEWKT('SRID=4674;POINT (-40.385829694569 -2.8027027286589)'))) / (select extract(epoch from '2026-07-21 16:16:32'::timestamp) - extract(epoch from '2026-07-21 16:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385952237993 -2.8026507608593)'), GeomFromEWKT('SRID=4674;POINT (-40.385829694569 -2.8027027286589)'))) / (select extract(epoch from '2026-07-21 16:16:32'::timestamp) - extract(epoch from '2026-07-21 16:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.385771775618 -2.8027421236038)', '2026-07-21 16:16:36', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385829694569 -2.8027027286589)'), GeomFromEWKT('SRID=4674;POINT (-40.385771775618 -2.8027421236038)'))) / (select extract(epoch from '2026-07-21 16:16:36'::timestamp) - extract(epoch from '2026-07-21 16:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385829694569 -2.8027027286589)'), GeomFromEWKT('SRID=4674;POINT (-40.385771775618 -2.8027421236038)'))) / (select extract(epoch from '2026-07-21 16:16:36'::timestamp) - extract(epoch from '2026-07-21 16:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.385686866939 -2.802813956514)', '2026-07-21 16:16:42', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385771775618 -2.8027421236038)'), GeomFromEWKT('SRID=4674;POINT (-40.385686866939 -2.802813956514)'))) / (select extract(epoch from '2026-07-21 16:16:42'::timestamp) - extract(epoch from '2026-07-21 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385771775618 -2.8027421236038)'), GeomFromEWKT('SRID=4674;POINT (-40.385686866939 -2.802813956514)'))) / (select extract(epoch from '2026-07-21 16:16:42'::timestamp) - extract(epoch from '2026-07-21 16:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.38561059162 -2.8028865437955)', '2026-07-21 16:16:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385686866939 -2.802813956514)'), GeomFromEWKT('SRID=4674;POINT (-40.38561059162 -2.8028865437955)'))) / (select extract(epoch from '2026-07-21 16:16:48'::timestamp) - extract(epoch from '2026-07-21 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385686866939 -2.802813956514)'), GeomFromEWKT('SRID=4674;POINT (-40.38561059162 -2.8028865437955)'))) / (select extract(epoch from '2026-07-21 16:16:48'::timestamp) - extract(epoch from '2026-07-21 16:16: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'), 47833, 'SRID=4674;POINT (-40.385533226654 -2.8029687702656)', '2026-07-21 16:16:54', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38561059162 -2.8028865437955)'), GeomFromEWKT('SRID=4674;POINT (-40.385533226654 -2.8029687702656)'))) / (select extract(epoch from '2026-07-21 16:16:54'::timestamp) - extract(epoch from '2026-07-21 16:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38561059162 -2.8028865437955)'), GeomFromEWKT('SRID=4674;POINT (-40.385533226654 -2.8029687702656)'))) / (select extract(epoch from '2026-07-21 16:16:54'::timestamp) - extract(epoch from '2026-07-21 16:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.385518139228 -2.8029797505587)', '2026-07-21 16:16:55', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385533226654 -2.8029687702656)'), GeomFromEWKT('SRID=4674;POINT (-40.385518139228 -2.8029797505587)'))) / (select extract(epoch from '2026-07-21 16:16:55'::timestamp) - extract(epoch from '2026-07-21 16:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385533226654 -2.8029687702656)'), GeomFromEWKT('SRID=4674;POINT (-40.385518139228 -2.8029797505587)'))) / (select extract(epoch from '2026-07-21 16:16:55'::timestamp) - extract(epoch from '2026-07-21 16:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.385428955778 -2.8030189778656)', '2026-07-21 16:17:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385518139228 -2.8029797505587)'), GeomFromEWKT('SRID=4674;POINT (-40.385428955778 -2.8030189778656)'))) / (select extract(epoch from '2026-07-21 16:17:00'::timestamp) - extract(epoch from '2026-07-21 16:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385518139228 -2.8029797505587)'), GeomFromEWKT('SRID=4674;POINT (-40.385428955778 -2.8030189778656)'))) / (select extract(epoch from '2026-07-21 16:17:00'::timestamp) - extract(epoch from '2026-07-21 16:16: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'), 47833, 'SRID=4674;POINT (-40.385332563892 -2.8030778188258)', '2026-07-21 16:17:05', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385428955778 -2.8030189778656)'), GeomFromEWKT('SRID=4674;POINT (-40.385332563892 -2.8030778188258)'))) / (select extract(epoch from '2026-07-21 16:17:05'::timestamp) - extract(epoch from '2026-07-21 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385428955778 -2.8030189778656)'), GeomFromEWKT('SRID=4674;POINT (-40.385332563892 -2.8030778188258)'))) / (select extract(epoch from '2026-07-21 16:17:05'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.385243380442 -2.8031857777387)', '2026-07-21 16:17:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332563892 -2.8030778188258)'), GeomFromEWKT('SRID=4674;POINT (-40.385243380442 -2.8031857777387)'))) / (select extract(epoch from '2026-07-21 16:17:12'::timestamp) - extract(epoch from '2026-07-21 16:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385332563892 -2.8030778188258)'), GeomFromEWKT('SRID=4674;POINT (-40.385243380442 -2.8031857777387)'))) / (select extract(epoch from '2026-07-21 16:17:12'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.385196022689 -2.8032703511417)', '2026-07-21 16:17:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385243380442 -2.8031857777387)'), GeomFromEWKT('SRID=4674;POINT (-40.385196022689 -2.8032703511417)'))) / (select extract(epoch from '2026-07-21 16:17:18'::timestamp) - extract(epoch from '2026-07-21 16:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385243380442 -2.8031857777387)'), GeomFromEWKT('SRID=4674;POINT (-40.385196022689 -2.8032703511417)'))) / (select extract(epoch from '2026-07-21 16:17:18'::timestamp) - extract(epoch from '2026-07-21 16:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.385117316619 -2.8033328801394)', '2026-07-21 16:17:24', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385196022689 -2.8032703511417)'), GeomFromEWKT('SRID=4674;POINT (-40.385117316619 -2.8033328801394)'))) / (select extract(epoch from '2026-07-21 16:17:24'::timestamp) - extract(epoch from '2026-07-21 16:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385196022689 -2.8032703511417)'), GeomFromEWKT('SRID=4674;POINT (-40.385117316619 -2.8033328801394)'))) / (select extract(epoch from '2026-07-21 16:17:24'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.385047746822 -2.8033809922636)', '2026-07-21 16:17:30', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385117316619 -2.8033328801394)'), GeomFromEWKT('SRID=4674;POINT (-40.385047746822 -2.8033809922636)'))) / (select extract(epoch from '2026-07-21 16:17:30'::timestamp) - extract(epoch from '2026-07-21 16:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385117316619 -2.8033328801394)'), GeomFromEWKT('SRID=4674;POINT (-40.385047746822 -2.8033809922636)'))) / (select extract(epoch from '2026-07-21 16:17:30'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384920258075 -2.803469337523)', '2026-07-21 16:17:39', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385047746822 -2.8033809922636)'), GeomFromEWKT('SRID=4674;POINT (-40.384920258075 -2.803469337523)'))) / (select extract(epoch from '2026-07-21 16:17:39'::timestamp) - extract(epoch from '2026-07-21 16:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385047746822 -2.8033809922636)'), GeomFromEWKT('SRID=4674;POINT (-40.384920258075 -2.803469337523)'))) / (select extract(epoch from '2026-07-21 16:17:39'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384807018563 -2.8035314474255)', '2026-07-21 16:17:46', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384920258075 -2.803469337523)'), GeomFromEWKT('SRID=4674;POINT (-40.384807018563 -2.8035314474255)'))) / (select extract(epoch from '2026-07-21 16:17:46'::timestamp) - extract(epoch from '2026-07-21 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384920258075 -2.803469337523)'), GeomFromEWKT('SRID=4674;POINT (-40.384807018563 -2.8035314474255)'))) / (select extract(epoch from '2026-07-21 16:17:46'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384704926983 -2.8035841695964)', '2026-07-21 16:17:53', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384807018563 -2.8035314474255)'), GeomFromEWKT('SRID=4674;POINT (-40.384704926983 -2.8035841695964)'))) / (select extract(epoch from '2026-07-21 16:17:53'::timestamp) - extract(epoch from '2026-07-21 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384807018563 -2.8035314474255)'), GeomFromEWKT('SRID=4674;POINT (-40.384704926983 -2.8035841695964)'))) / (select extract(epoch from '2026-07-21 16:17:53'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384616078809 -2.8036115784198)', '2026-07-21 16:17:58', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384704926983 -2.8035841695964)'), GeomFromEWKT('SRID=4674;POINT (-40.384616078809 -2.8036115784198)'))) / (select extract(epoch from '2026-07-21 16:17:58'::timestamp) - extract(epoch from '2026-07-21 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384704926983 -2.8035841695964)'), GeomFromEWKT('SRID=4674;POINT (-40.384616078809 -2.8036115784198)'))) / (select extract(epoch from '2026-07-21 16:17:58'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384504767135 -2.803662288934)', '2026-07-21 16:18:05', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384616078809 -2.8036115784198)'), GeomFromEWKT('SRID=4674;POINT (-40.384504767135 -2.803662288934)'))) / (select extract(epoch from '2026-07-21 16:18:05'::timestamp) - extract(epoch from '2026-07-21 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384616078809 -2.8036115784198)'), GeomFromEWKT('SRID=4674;POINT (-40.384504767135 -2.803662288934)'))) / (select extract(epoch from '2026-07-21 16:18:05'::timestamp) - extract(epoch from '2026-07-21 16:17: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'), 47833, 'SRID=4674;POINT (-40.384415918961 -2.8037082217634)', '2026-07-21 16:18:10', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384504767135 -2.803662288934)'), GeomFromEWKT('SRID=4674;POINT (-40.384415918961 -2.8037082217634)'))) / (select extract(epoch from '2026-07-21 16:18:10'::timestamp) - extract(epoch from '2026-07-21 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384504767135 -2.803662288934)'), GeomFromEWKT('SRID=4674;POINT (-40.384415918961 -2.8037082217634)'))) / (select extract(epoch from '2026-07-21 16:18:10'::timestamp) - extract(epoch from '2026-07-21 16:18: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'), 47833, 'SRID=4674;POINT (-40.384328076616 -2.8037673979998)', '2026-07-21 16:18:16', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384415918961 -2.8037082217634)'), GeomFromEWKT('SRID=4674;POINT (-40.384328076616 -2.8037673979998)'))) / (select extract(epoch from '2026-07-21 16:18:16'::timestamp) - extract(epoch from '2026-07-21 16:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384415918961 -2.8037082217634)'), GeomFromEWKT('SRID=4674;POINT (-40.384328076616 -2.8037673979998)'))) / (select extract(epoch from '2026-07-21 16:18:16'::timestamp) - extract(epoch from '2026-07-21 16:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.384226655588 -2.8038517199457)', '2026-07-21 16:18:23', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384328076616 -2.8037673979998)'), GeomFromEWKT('SRID=4674;POINT (-40.384226655588 -2.8038517199457)'))) / (select extract(epoch from '2026-07-21 16:18:23'::timestamp) - extract(epoch from '2026-07-21 16:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384328076616 -2.8037673979998)'), GeomFromEWKT('SRID=4674;POINT (-40.384226655588 -2.8038517199457)'))) / (select extract(epoch from '2026-07-21 16:18:23'::timestamp) - extract(epoch from '2026-07-21 16:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.384146859869 -2.8038983233273)', '2026-07-21 16:18:29', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384226655588 -2.8038517199457)'), GeomFromEWKT('SRID=4674;POINT (-40.384146859869 -2.8038983233273)'))) / (select extract(epoch from '2026-07-21 16:18:29'::timestamp) - extract(epoch from '2026-07-21 16:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384226655588 -2.8038517199457)'), GeomFromEWKT('SRID=4674;POINT (-40.384146859869 -2.8038983233273)'))) / (select extract(epoch from '2026-07-21 16:18:29'::timestamp) - extract(epoch from '2026-07-21 16:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.384043343365 -2.803947860375)', '2026-07-21 16:18:37', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384146859869 -2.8038983233273)'), GeomFromEWKT('SRID=4674;POINT (-40.384043343365 -2.803947860375)'))) / (select extract(epoch from '2026-07-21 16:18:37'::timestamp) - extract(epoch from '2026-07-21 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384146859869 -2.8038983233273)'), GeomFromEWKT('SRID=4674;POINT (-40.384043343365 -2.803947860375)'))) / (select extract(epoch from '2026-07-21 16:18:37'::timestamp) - extract(epoch from '2026-07-21 16:18: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'), 47833, 'SRID=4674;POINT (-40.383939323947 -2.8039860818535)', '2026-07-21 16:18:44', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384043343365 -2.803947860375)'), GeomFromEWKT('SRID=4674;POINT (-40.383939323947 -2.8039860818535)'))) / (select extract(epoch from '2026-07-21 16:18:44'::timestamp) - extract(epoch from '2026-07-21 16:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384043343365 -2.803947860375)'), GeomFromEWKT('SRID=4674;POINT (-40.383939323947 -2.8039860818535)'))) / (select extract(epoch from '2026-07-21 16:18:44'::timestamp) - extract(epoch from '2026-07-21 16:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.383793730289 -2.8040629439056)', '2026-07-21 16:18:52', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383939323947 -2.8039860818535)'), GeomFromEWKT('SRID=4674;POINT (-40.383793730289 -2.8040629439056)'))) / (select extract(epoch from '2026-07-21 16:18:52'::timestamp) - extract(epoch from '2026-07-21 16:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383939323947 -2.8039860818535)'), GeomFromEWKT('SRID=4674;POINT (-40.383793730289 -2.8040629439056)'))) / (select extract(epoch from '2026-07-21 16:18:52'::timestamp) - extract(epoch from '2026-07-21 16:18: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'), 47833, 'SRID=4674;POINT (-40.383671522141 -2.8041130676866)', '2026-07-21 16:18:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383793730289 -2.8040629439056)'), GeomFromEWKT('SRID=4674;POINT (-40.383671522141 -2.8041130676866)'))) / (select extract(epoch from '2026-07-21 16:18:59'::timestamp) - extract(epoch from '2026-07-21 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383793730289 -2.8040629439056)'), GeomFromEWKT('SRID=4674;POINT (-40.383671522141 -2.8041130676866)'))) / (select extract(epoch from '2026-07-21 16:18:59'::timestamp) - extract(epoch from '2026-07-21 16:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.38352961652 -2.8041714895517)', '2026-07-21 16:19:07', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383671522141 -2.8041130676866)'), GeomFromEWKT('SRID=4674;POINT (-40.38352961652 -2.8041714895517)'))) / (select extract(epoch from '2026-07-21 16:19:07'::timestamp) - extract(epoch from '2026-07-21 16:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383671522141 -2.8041130676866)'), GeomFromEWKT('SRID=4674;POINT (-40.38352961652 -2.8041714895517)'))) / (select extract(epoch from '2026-07-21 16:19:07'::timestamp) - extract(epoch from '2026-07-21 16:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.383392153308 -2.804217338562)', '2026-07-21 16:19:14', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38352961652 -2.8041714895517)'), GeomFromEWKT('SRID=4674;POINT (-40.383392153308 -2.804217338562)'))) / (select extract(epoch from '2026-07-21 16:19:14'::timestamp) - extract(epoch from '2026-07-21 16:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38352961652 -2.8041714895517)'), GeomFromEWKT('SRID=4674;POINT (-40.383392153308 -2.804217338562)'))) / (select extract(epoch from '2026-07-21 16:19:14'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47833, 'SRID=4674;POINT (-40.383230634034 -2.8042458370328)', '2026-07-21 16:19:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383392153308 -2.804217338562)'), GeomFromEWKT('SRID=4674;POINT (-40.383230634034 -2.8042458370328)'))) / (select extract(epoch from '2026-07-21 16:19:22'::timestamp) - extract(epoch from '2026-07-21 16:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383392153308 -2.804217338562)'), GeomFromEWKT('SRID=4674;POINT (-40.383230634034 -2.8042458370328)'))) / (select extract(epoch from '2026-07-21 16:19:22'::timestamp) - extract(epoch from '2026-07-21 16:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.383035838604 -2.8042811248451)', '2026-07-21 16:19:33', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383230634034 -2.8042458370328)'), GeomFromEWKT('SRID=4674;POINT (-40.383035838604 -2.8042811248451)'))) / (select extract(epoch from '2026-07-21 16:19:33'::timestamp) - extract(epoch from '2026-07-21 16:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383230634034 -2.8042458370328)'), GeomFromEWKT('SRID=4674;POINT (-40.383035838604 -2.8042811248451)'))) / (select extract(epoch from '2026-07-21 16:19:33'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47833, 'SRID=4674;POINT (-40.382944056764 -2.804349353537)', '2026-07-21 16:19:40', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383035838604 -2.8042811248451)'), GeomFromEWKT('SRID=4674;POINT (-40.382944056764 -2.804349353537)'))) / (select extract(epoch from '2026-07-21 16:19:40'::timestamp) - extract(epoch from '2026-07-21 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383035838604 -2.8042811248451)'), GeomFromEWKT('SRID=4674;POINT (-40.382944056764 -2.804349353537)'))) / (select extract(epoch from '2026-07-21 16:19:40'::timestamp) - extract(epoch from '2026-07-21 16:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.382787231356 -2.8044014889747)', '2026-07-21 16:19:49', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382944056764 -2.804349353537)'), GeomFromEWKT('SRID=4674;POINT (-40.382787231356 -2.8044014889747)'))) / (select extract(epoch from '2026-07-21 16:19:49'::timestamp) - extract(epoch from '2026-07-21 16:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382944056764 -2.804349353537)'), GeomFromEWKT('SRID=4674;POINT (-40.382787231356 -2.8044014889747)'))) / (select extract(epoch from '2026-07-21 16:19:49'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47833, 'SRID=4674;POINT (-40.382647085935 -2.8044773451984)', '2026-07-21 16:19:58', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382787231356 -2.8044014889747)'), GeomFromEWKT('SRID=4674;POINT (-40.382647085935 -2.8044773451984)'))) / (select extract(epoch from '2026-07-21 16:19:58'::timestamp) - extract(epoch from '2026-07-21 16:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382787231356 -2.8044014889747)'), GeomFromEWKT('SRID=4674;POINT (-40.382647085935 -2.8044773451984)'))) / (select extract(epoch from '2026-07-21 16:19:58'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47833, 'SRID=4674;POINT (-40.382558153942 -2.8045356832445)', '2026-07-21 16:20:07', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382647085935 -2.8044773451984)'), GeomFromEWKT('SRID=4674;POINT (-40.382558153942 -2.8045356832445)'))) / (select extract(epoch from '2026-07-21 16:20:07'::timestamp) - extract(epoch from '2026-07-21 16:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382647085935 -2.8044773451984)'), GeomFromEWKT('SRID=4674;POINT (-40.382558153942 -2.8045356832445)'))) / (select extract(epoch from '2026-07-21 16:20:07'::timestamp) - extract(epoch from '2026-07-21 16:19: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'), 47833, 'SRID=4674;POINT (-40.382412979379 -2.8045770898461)', '2026-07-21 16:20:16', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382558153942 -2.8045356832445)'), GeomFromEWKT('SRID=4674;POINT (-40.382412979379 -2.8045770898461)'))) / (select extract(epoch from '2026-07-21 16:20:16'::timestamp) - extract(epoch from '2026-07-21 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382558153942 -2.8045356832445)'), GeomFromEWKT('SRID=4674;POINT (-40.382412979379 -2.8045770898461)'))) / (select extract(epoch from '2026-07-21 16:20:16'::timestamp) - extract(epoch from '2026-07-21 16:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.382228158414 -2.8046222683042)', '2026-07-21 16:20:24', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382412979379 -2.8045770898461)'), GeomFromEWKT('SRID=4674;POINT (-40.382228158414 -2.8046222683042)'))) / (select extract(epoch from '2026-07-21 16:20:24'::timestamp) - extract(epoch from '2026-07-21 16:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382412979379 -2.8045770898461)'), GeomFromEWKT('SRID=4674;POINT (-40.382228158414 -2.8046222683042)'))) / (select extract(epoch from '2026-07-21 16:20:24'::timestamp) - extract(epoch from '2026-07-21 16:20: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'), 47833, 'SRID=4674;POINT (-40.382060268894 -2.8046343382448)', '2026-07-21 16:20:33', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382228158414 -2.8046222683042)'), GeomFromEWKT('SRID=4674;POINT (-40.382060268894 -2.8046343382448)'))) / (select extract(epoch from '2026-07-21 16:20:33'::timestamp) - extract(epoch from '2026-07-21 16:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382228158414 -2.8046222683042)'), GeomFromEWKT('SRID=4674;POINT (-40.382060268894 -2.8046343382448)'))) / (select extract(epoch from '2026-07-21 16:20:33'::timestamp) - extract(epoch from '2026-07-21 16:20: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'), 47833, 'SRID=4674;POINT (-40.381923057139 -2.8046721406281)', '2026-07-21 16:20:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382060268894 -2.8046343382448)'), GeomFromEWKT('SRID=4674;POINT (-40.381923057139 -2.8046721406281)'))) / (select extract(epoch from '2026-07-21 16:20:41'::timestamp) - extract(epoch from '2026-07-21 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382060268894 -2.8046343382448)'), GeomFromEWKT('SRID=4674;POINT (-40.381923057139 -2.8046721406281)'))) / (select extract(epoch from '2026-07-21 16:20:41'::timestamp) - extract(epoch from '2026-07-21 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.381777798757 -2.8047448955476)', '2026-07-21 16:20:50', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381923057139 -2.8046721406281)'), GeomFromEWKT('SRID=4674;POINT (-40.381777798757 -2.8047448955476)'))) / (select extract(epoch from '2026-07-21 16:20:50'::timestamp) - extract(epoch from '2026-07-21 16:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381923057139 -2.8046721406281)'), GeomFromEWKT('SRID=4674;POINT (-40.381777798757 -2.8047448955476)'))) / (select extract(epoch from '2026-07-21 16:20:50'::timestamp) - extract(epoch from '2026-07-21 16:20: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'), 47833, 'SRID=4674;POINT (-40.381682664156 -2.8047946840525)', '2026-07-21 16:20:57', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381777798757 -2.8047448955476)'), GeomFromEWKT('SRID=4674;POINT (-40.381682664156 -2.8047946840525)'))) / (select extract(epoch from '2026-07-21 16:20:57'::timestamp) - extract(epoch from '2026-07-21 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381777798757 -2.8047448955476)'), GeomFromEWKT('SRID=4674;POINT (-40.381682664156 -2.8047946840525)'))) / (select extract(epoch from '2026-07-21 16:20:57'::timestamp) - extract(epoch from '2026-07-21 16:20: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'), 47833, 'SRID=4674;POINT (-40.381597336382 -2.8047795966268)', '2026-07-21 16:21:04', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381682664156 -2.8047946840525)'), GeomFromEWKT('SRID=4674;POINT (-40.381597336382 -2.8047795966268)'))) / (select extract(epoch from '2026-07-21 16:21:04'::timestamp) - extract(epoch from '2026-07-21 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381682664156 -2.8047946840525)'), GeomFromEWKT('SRID=4674;POINT (-40.381597336382 -2.8047795966268)'))) / (select extract(epoch from '2026-07-21 16:21:04'::timestamp) - extract(epoch from '2026-07-21 16:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.381498094648 -2.8048021439463)', '2026-07-21 16:21:11', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381597336382 -2.8047795966268)'), GeomFromEWKT('SRID=4674;POINT (-40.381498094648 -2.8048021439463)'))) / (select extract(epoch from '2026-07-21 16:21:11'::timestamp) - extract(epoch from '2026-07-21 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381597336382 -2.8047795966268)'), GeomFromEWKT('SRID=4674;POINT (-40.381498094648 -2.8048021439463)'))) / (select extract(epoch from '2026-07-21 16:21:11'::timestamp) - extract(epoch from '2026-07-21 16:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.381416957825 -2.804785631597)', '2026-07-21 16:21:16', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381498094648 -2.8048021439463)'), GeomFromEWKT('SRID=4674;POINT (-40.381416957825 -2.804785631597)'))) / (select extract(epoch from '2026-07-21 16:21:16'::timestamp) - extract(epoch from '2026-07-21 16:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381498094648 -2.8048021439463)'), GeomFromEWKT('SRID=4674;POINT (-40.381416957825 -2.804785631597)'))) / (select extract(epoch from '2026-07-21 16:21:16'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47833, 'SRID=4674;POINT (-40.381262060255 -2.8047964442521)', '2026-07-21 16:21:25', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381416957825 -2.804785631597)'), GeomFromEWKT('SRID=4674;POINT (-40.381262060255 -2.8047964442521)'))) / (select extract(epoch from '2026-07-21 16:21:25'::timestamp) - extract(epoch from '2026-07-21 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381416957825 -2.804785631597)'), GeomFromEWKT('SRID=4674;POINT (-40.381262060255 -2.8047964442521)'))) / (select extract(epoch from '2026-07-21 16:21:25'::timestamp) - extract(epoch from '2026-07-21 16:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.381147731096 -2.8047935944051)', '2026-07-21 16:21:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381262060255 -2.8047964442521)'), GeomFromEWKT('SRID=4674;POINT (-40.381147731096 -2.8047935944051)'))) / (select extract(epoch from '2026-07-21 16:21:32'::timestamp) - extract(epoch from '2026-07-21 16:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381262060255 -2.8047964442521)'), GeomFromEWKT('SRID=4674;POINT (-40.381147731096 -2.8047935944051)'))) / (select extract(epoch from '2026-07-21 16:21:32'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.381041783839 -2.8048187401146)', '2026-07-21 16:21:39', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381147731096 -2.8047935944051)'), GeomFromEWKT('SRID=4674;POINT (-40.381041783839 -2.8048187401146)'))) / (select extract(epoch from '2026-07-21 16:21:39'::timestamp) - extract(epoch from '2026-07-21 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381147731096 -2.8047935944051)'), GeomFromEWKT('SRID=4674;POINT (-40.381041783839 -2.8048187401146)'))) / (select extract(epoch from '2026-07-21 16:21:39'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47833, 'SRID=4674;POINT (-40.38091538474 -2.8048681933433)', '2026-07-21 16:21:47', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381041783839 -2.8048187401146)'), GeomFromEWKT('SRID=4674;POINT (-40.38091538474 -2.8048681933433)'))) / (select extract(epoch from '2026-07-21 16:21:47'::timestamp) - extract(epoch from '2026-07-21 16:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381041783839 -2.8048187401146)'), GeomFromEWKT('SRID=4674;POINT (-40.38091538474 -2.8048681933433)'))) / (select extract(epoch from '2026-07-21 16:21:47'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47833, 'SRID=4674;POINT (-40.380784375593 -2.804965255782)', '2026-07-21 16:21:55', 0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38091538474 -2.8048681933433)'), GeomFromEWKT('SRID=4674;POINT (-40.380784375593 -2.804965255782)'))) / (select extract(epoch from '2026-07-21 16:21:55'::timestamp) - extract(epoch from '2026-07-21 16:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38091538474 -2.8048681933433)'), GeomFromEWKT('SRID=4674;POINT (-40.380784375593 -2.804965255782)'))) / (select extract(epoch from '2026-07-21 16:21:55'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47833, 'SRID=4674;POINT (-40.38067733869 -2.8050351608545)', '2026-07-21 16:22:01', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380784375593 -2.804965255782)'), GeomFromEWKT('SRID=4674;POINT (-40.38067733869 -2.8050351608545)'))) / (select extract(epoch from '2026-07-21 16:22:01'::timestamp) - extract(epoch from '2026-07-21 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380784375593 -2.804965255782)'), GeomFromEWKT('SRID=4674;POINT (-40.38067733869 -2.8050351608545)'))) / (select extract(epoch from '2026-07-21 16:22:01'::timestamp) - extract(epoch from '2026-07-21 16:21: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'), 47833, 'SRID=4674;POINT (-40.38055437617 -2.8050543554127)', '2026-07-21 16:22:08', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38067733869 -2.8050351608545)'), GeomFromEWKT('SRID=4674;POINT (-40.38055437617 -2.8050543554127)'))) / (select extract(epoch from '2026-07-21 16:22:08'::timestamp) - extract(epoch from '2026-07-21 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38067733869 -2.8050351608545)'), GeomFromEWKT('SRID=4674;POINT (-40.38055437617 -2.8050543554127)'))) / (select extract(epoch from '2026-07-21 16:22:08'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.380416242406 -2.8050915710628)', '2026-07-21 16:22:16', 0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38055437617 -2.8050543554127)'), GeomFromEWKT('SRID=4674;POINT (-40.380416242406 -2.8050915710628)'))) / (select extract(epoch from '2026-07-21 16:22:16'::timestamp) - extract(epoch from '2026-07-21 16:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38055437617 -2.8050543554127)'), GeomFromEWKT('SRID=4674;POINT (-40.380416242406 -2.8050915710628)'))) / (select extract(epoch from '2026-07-21 16:22:16'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.380297722295 -2.8051043953747)', '2026-07-21 16:22:23', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380416242406 -2.8050915710628)'), GeomFromEWKT('SRID=4674;POINT (-40.380297722295 -2.8051043953747)'))) / (select extract(epoch from '2026-07-21 16:22:23'::timestamp) - extract(epoch from '2026-07-21 16:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380416242406 -2.8050915710628)'), GeomFromEWKT('SRID=4674;POINT (-40.380297722295 -2.8051043953747)'))) / (select extract(epoch from '2026-07-21 16:22:23'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.380153385922 -2.8051336482167)', '2026-07-21 16:22:31', -0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380297722295 -2.8051043953747)'), GeomFromEWKT('SRID=4674;POINT (-40.380153385922 -2.8051336482167)'))) / (select extract(epoch from '2026-07-21 16:22:31'::timestamp) - extract(epoch from '2026-07-21 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380297722295 -2.8051043953747)'), GeomFromEWKT('SRID=4674;POINT (-40.380153385922 -2.8051336482167)'))) / (select extract(epoch from '2026-07-21 16:22:31'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.38005146198 -2.8051438741386)', '2026-07-21 16:22:37', -0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380153385922 -2.8051336482167)'), GeomFromEWKT('SRID=4674;POINT (-40.38005146198 -2.8051438741386)'))) / (select extract(epoch from '2026-07-21 16:22:37'::timestamp) - extract(epoch from '2026-07-21 16:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380153385922 -2.8051336482167)'), GeomFromEWKT('SRID=4674;POINT (-40.38005146198 -2.8051438741386)'))) / (select extract(epoch from '2026-07-21 16:22:37'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.379934953526 -2.8051623981446)', '2026-07-21 16:22:44', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38005146198 -2.8051438741386)'), GeomFromEWKT('SRID=4674;POINT (-40.379934953526 -2.8051623981446)'))) / (select extract(epoch from '2026-07-21 16:22:44'::timestamp) - extract(epoch from '2026-07-21 16:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38005146198 -2.8051438741386)'), GeomFromEWKT('SRID=4674;POINT (-40.379934953526 -2.8051623981446)'))) / (select extract(epoch from '2026-07-21 16:22:44'::timestamp) - extract(epoch from '2026-07-21 16:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.379810063168 -2.8051854483783)', '2026-07-21 16:22:51', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379934953526 -2.8051623981446)'), GeomFromEWKT('SRID=4674;POINT (-40.379810063168 -2.8051854483783)'))) / (select extract(epoch from '2026-07-21 16:22:51'::timestamp) - extract(epoch from '2026-07-21 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379934953526 -2.8051623981446)'), GeomFromEWKT('SRID=4674;POINT (-40.379810063168 -2.8051854483783)'))) / (select extract(epoch from '2026-07-21 16:22:51'::timestamp) - extract(epoch from '2026-07-21 16:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.379690537229 -2.8051990270615)', '2026-07-21 16:22:58', -1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379810063168 -2.8051854483783)'), GeomFromEWKT('SRID=4674;POINT (-40.379690537229 -2.8051990270615)'))) / (select extract(epoch from '2026-07-21 16:22:58'::timestamp) - extract(epoch from '2026-07-21 16:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379810063168 -2.8051854483783)'), GeomFromEWKT('SRID=4674;POINT (-40.379690537229 -2.8051990270615)'))) / (select extract(epoch from '2026-07-21 16:22:58'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.379559192806 -2.8052007872611)', '2026-07-21 16:23:05', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379690537229 -2.8051990270615)'), GeomFromEWKT('SRID=4674;POINT (-40.379559192806 -2.8052007872611)'))) / (select extract(epoch from '2026-07-21 16:23:05'::timestamp) - extract(epoch from '2026-07-21 16:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379690537229 -2.8051990270615)'), GeomFromEWKT('SRID=4674;POINT (-40.379559192806 -2.8052007872611)'))) / (select extract(epoch from '2026-07-21 16:23:05'::timestamp) - extract(epoch from '2026-07-21 16:22: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'), 47833, 'SRID=4674;POINT (-40.379427596927 -2.8051999490708)', '2026-07-21 16:23:13', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379559192806 -2.8052007872611)'), GeomFromEWKT('SRID=4674;POINT (-40.379427596927 -2.8051999490708)'))) / (select extract(epoch from '2026-07-21 16:23:13'::timestamp) - extract(epoch from '2026-07-21 16:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379559192806 -2.8052007872611)'), GeomFromEWKT('SRID=4674;POINT (-40.379427596927 -2.8051999490708)'))) / (select extract(epoch from '2026-07-21 16:23:13'::timestamp) - extract(epoch from '2026-07-21 16:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.379308490083 -2.8051927406341)', '2026-07-21 16:23:20', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379427596927 -2.8051999490708)'), GeomFromEWKT('SRID=4674;POINT (-40.379308490083 -2.8051927406341)'))) / (select extract(epoch from '2026-07-21 16:23:20'::timestamp) - extract(epoch from '2026-07-21 16:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379427596927 -2.8051999490708)'), GeomFromEWKT('SRID=4674;POINT (-40.379308490083 -2.8051927406341)'))) / (select extract(epoch from '2026-07-21 16:23:20'::timestamp) - extract(epoch from '2026-07-21 16:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.379255348817 -2.8052001167089)', '2026-07-21 16:23:24', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379308490083 -2.8051927406341)'), GeomFromEWKT('SRID=4674;POINT (-40.379255348817 -2.8052001167089)'))) / (select extract(epoch from '2026-07-21 16:23:24'::timestamp) - extract(epoch from '2026-07-21 16:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379308490083 -2.8051927406341)'), GeomFromEWKT('SRID=4674;POINT (-40.379255348817 -2.8052001167089)'))) / (select extract(epoch from '2026-07-21 16:23:24'::timestamp) - extract(epoch from '2026-07-21 16:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.379232885316 -2.8052037209272)', '2026-07-21 16:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379255348817 -2.8052001167089)'), GeomFromEWKT('SRID=4674;POINT (-40.379232885316 -2.8052037209272)'))) / (select extract(epoch from '2026-07-21 16:23:26'::timestamp) - extract(epoch from '2026-07-21 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379255348817 -2.8052001167089)'), GeomFromEWKT('SRID=4674;POINT (-40.379232885316 -2.8052037209272)'))) / (select extract(epoch from '2026-07-21 16:23:26'::timestamp) - extract(epoch from '2026-07-21 16:23: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'), 47833, 'SRID=4674;POINT (-40.379111431539 -2.8052451275289)', '2026-07-21 16:23:33', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379232885316 -2.8052037209272)'), GeomFromEWKT('SRID=4674;POINT (-40.379111431539 -2.8052451275289)'))) / (select extract(epoch from '2026-07-21 16:23:33'::timestamp) - extract(epoch from '2026-07-21 16:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379232885316 -2.8052037209272)'), GeomFromEWKT('SRID=4674;POINT (-40.379111431539 -2.8052451275289)'))) / (select extract(epoch from '2026-07-21 16:23:33'::timestamp) - extract(epoch from '2026-07-21 16:23: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'), 47833, 'SRID=4674;POINT (-40.378970531747 -2.805282426998)', '2026-07-21 16:23:41', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379111431539 -2.8052451275289)'), GeomFromEWKT('SRID=4674;POINT (-40.378970531747 -2.805282426998)'))) / (select extract(epoch from '2026-07-21 16:23:41'::timestamp) - extract(epoch from '2026-07-21 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379111431539 -2.8052451275289)'), GeomFromEWKT('SRID=4674;POINT (-40.378970531747 -2.805282426998)'))) / (select extract(epoch from '2026-07-21 16:23:41'::timestamp) - extract(epoch from '2026-07-21 16:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.378873888403 -2.8052984364331)', '2026-07-21 16:23:47', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378970531747 -2.805282426998)'), GeomFromEWKT('SRID=4674;POINT (-40.378873888403 -2.8052984364331)'))) / (select extract(epoch from '2026-07-21 16:23:47'::timestamp) - extract(epoch from '2026-07-21 16:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378970531747 -2.805282426998)'), GeomFromEWKT('SRID=4674;POINT (-40.378873888403 -2.8052984364331)'))) / (select extract(epoch from '2026-07-21 16:23:47'::timestamp) - extract(epoch from '2026-07-21 16:23: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'), 47833, 'SRID=4674;POINT (-40.378754027188 -2.8053489793092)', '2026-07-21 16:23:54', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873888403 -2.8052984364331)'), GeomFromEWKT('SRID=4674;POINT (-40.378754027188 -2.8053489793092)'))) / (select extract(epoch from '2026-07-21 16:23:54'::timestamp) - extract(epoch from '2026-07-21 16:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873888403 -2.8052984364331)'), GeomFromEWKT('SRID=4674;POINT (-40.378754027188 -2.8053489793092)'))) / (select extract(epoch from '2026-07-21 16:23:54'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.378629723564 -2.8053703531623)', '2026-07-21 16:24:01', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378754027188 -2.8053489793092)'), GeomFromEWKT('SRID=4674;POINT (-40.378629723564 -2.8053703531623)'))) / (select extract(epoch from '2026-07-21 16:24:01'::timestamp) - extract(epoch from '2026-07-21 16:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378754027188 -2.8053489793092)'), GeomFromEWKT('SRID=4674;POINT (-40.378629723564 -2.8053703531623)'))) / (select extract(epoch from '2026-07-21 16:24:01'::timestamp) - extract(epoch from '2026-07-21 16:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.378535259515 -2.8054077364504)', '2026-07-21 16:24:08', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378629723564 -2.8053703531623)'), GeomFromEWKT('SRID=4674;POINT (-40.378535259515 -2.8054077364504)'))) / (select extract(epoch from '2026-07-21 16:24:08'::timestamp) - extract(epoch from '2026-07-21 16:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378629723564 -2.8053703531623)'), GeomFromEWKT('SRID=4674;POINT (-40.378535259515 -2.8054077364504)'))) / (select extract(epoch from '2026-07-21 16:24:08'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.3784118779 -2.8054552618414)', '2026-07-21 16:24:16', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378535259515 -2.8054077364504)'), GeomFromEWKT('SRID=4674;POINT (-40.3784118779 -2.8054552618414)'))) / (select extract(epoch from '2026-07-21 16:24:16'::timestamp) - extract(epoch from '2026-07-21 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378535259515 -2.8054077364504)'), GeomFromEWKT('SRID=4674;POINT (-40.3784118779 -2.8054552618414)'))) / (select extract(epoch from '2026-07-21 16:24:16'::timestamp) - extract(epoch from '2026-07-21 16:24: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'), 47833, 'SRID=4674;POINT (-40.378252957016 -2.8055170364678)', '2026-07-21 16:24:25', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3784118779 -2.8054552618414)'), GeomFromEWKT('SRID=4674;POINT (-40.378252957016 -2.8055170364678)'))) / (select extract(epoch from '2026-07-21 16:24:25'::timestamp) - extract(epoch from '2026-07-21 16:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3784118779 -2.8054552618414)'), GeomFromEWKT('SRID=4674;POINT (-40.378252957016 -2.8055170364678)'))) / (select extract(epoch from '2026-07-21 16:24:25'::timestamp) - extract(epoch from '2026-07-21 16:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.37810116075 -2.8055270947516)', '2026-07-21 16:24:33', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378252957016 -2.8055170364678)'), GeomFromEWKT('SRID=4674;POINT (-40.37810116075 -2.8055270947516)'))) / (select extract(epoch from '2026-07-21 16:24:33'::timestamp) - extract(epoch from '2026-07-21 16:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378252957016 -2.8055170364678)'), GeomFromEWKT('SRID=4674;POINT (-40.37810116075 -2.8055270947516)'))) / (select extract(epoch from '2026-07-21 16:24:33'::timestamp) - extract(epoch from '2026-07-21 16:24: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'), 47833, 'SRID=4674;POINT (-40.377937797457 -2.8055676631629)', '2026-07-21 16:24:42', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37810116075 -2.8055270947516)'), GeomFromEWKT('SRID=4674;POINT (-40.377937797457 -2.8055676631629)'))) / (select extract(epoch from '2026-07-21 16:24:42'::timestamp) - extract(epoch from '2026-07-21 16:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37810116075 -2.8055270947516)'), GeomFromEWKT('SRID=4674;POINT (-40.377937797457 -2.8055676631629)'))) / (select extract(epoch from '2026-07-21 16:24:42'::timestamp) - extract(epoch from '2026-07-21 16:24: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'), 47833, 'SRID=4674;POINT (-40.377815170214 -2.8055681660771)', '2026-07-21 16:24:49', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377937797457 -2.8055676631629)'), GeomFromEWKT('SRID=4674;POINT (-40.377815170214 -2.8055681660771)'))) / (select extract(epoch from '2026-07-21 16:24:49'::timestamp) - extract(epoch from '2026-07-21 16:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377937797457 -2.8055676631629)'), GeomFromEWKT('SRID=4674;POINT (-40.377815170214 -2.8055681660771)'))) / (select extract(epoch from '2026-07-21 16:24:49'::timestamp) - extract(epoch from '2026-07-21 16:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.377666056156 -2.8056130930781)', '2026-07-21 16:24:58', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377815170214 -2.8055681660771)'), GeomFromEWKT('SRID=4674;POINT (-40.377666056156 -2.8056130930781)'))) / (select extract(epoch from '2026-07-21 16:24:58'::timestamp) - extract(epoch from '2026-07-21 16:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377815170214 -2.8055681660771)'), GeomFromEWKT('SRID=4674;POINT (-40.377666056156 -2.8056130930781)'))) / (select extract(epoch from '2026-07-21 16:24:58'::timestamp) - extract(epoch from '2026-07-21 16:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.377535969019 -2.805641759187)', '2026-07-21 16:25:06', 11.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377666056156 -2.8056130930781)'), GeomFromEWKT('SRID=4674;POINT (-40.377535969019 -2.805641759187)'))) / (select extract(epoch from '2026-07-21 16:25:06'::timestamp) - extract(epoch from '2026-07-21 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377666056156 -2.8056130930781)'), GeomFromEWKT('SRID=4674;POINT (-40.377535969019 -2.805641759187)'))) / (select extract(epoch from '2026-07-21 16:25:06'::timestamp) - extract(epoch from '2026-07-21 16:24: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'), 47833, 'SRID=4674;POINT (-40.377410072833 -2.8056679945439)', '2026-07-21 16:25:14', 12.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377535969019 -2.805641759187)'), GeomFromEWKT('SRID=4674;POINT (-40.377410072833 -2.8056679945439)'))) / (select extract(epoch from '2026-07-21 16:25:14'::timestamp) - extract(epoch from '2026-07-21 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377535969019 -2.805641759187)'), GeomFromEWKT('SRID=4674;POINT (-40.377410072833 -2.8056679945439)'))) / (select extract(epoch from '2026-07-21 16:25:14'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.377271771431 -2.8056918829679)', '2026-07-21 16:25:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377410072833 -2.8056679945439)'), GeomFromEWKT('SRID=4674;POINT (-40.377271771431 -2.8056918829679)'))) / (select extract(epoch from '2026-07-21 16:25:21'::timestamp) - extract(epoch from '2026-07-21 16:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377410072833 -2.8056679945439)'), GeomFromEWKT('SRID=4674;POINT (-40.377271771431 -2.8056918829679)'))) / (select extract(epoch from '2026-07-21 16:25:21'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.377120478079 -2.8057288471609)', '2026-07-21 16:25:29', 13.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377271771431 -2.8056918829679)'), GeomFromEWKT('SRID=4674;POINT (-40.377120478079 -2.8057288471609)'))) / (select extract(epoch from '2026-07-21 16:25:29'::timestamp) - extract(epoch from '2026-07-21 16:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377271771431 -2.8056918829679)'), GeomFromEWKT('SRID=4674;POINT (-40.377120478079 -2.8057288471609)'))) / (select extract(epoch from '2026-07-21 16:25:29'::timestamp) - extract(epoch from '2026-07-21 16:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.376999778673 -2.8057388216257)', '2026-07-21 16:25:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377120478079 -2.8057288471609)'), GeomFromEWKT('SRID=4674;POINT (-40.376999778673 -2.8057388216257)'))) / (select extract(epoch from '2026-07-21 16:25:35'::timestamp) - extract(epoch from '2026-07-21 16:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377120478079 -2.8057288471609)'), GeomFromEWKT('SRID=4674;POINT (-40.376999778673 -2.8057388216257)'))) / (select extract(epoch from '2026-07-21 16:25:35'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.376886790618 -2.8057706728578)', '2026-07-21 16:25:42', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376999778673 -2.8057388216257)'), GeomFromEWKT('SRID=4674;POINT (-40.376886790618 -2.8057706728578)'))) / (select extract(epoch from '2026-07-21 16:25:42'::timestamp) - extract(epoch from '2026-07-21 16:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376999778673 -2.8057388216257)'), GeomFromEWKT('SRID=4674;POINT (-40.376886790618 -2.8057706728578)'))) / (select extract(epoch from '2026-07-21 16:25:42'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.376793751493 -2.80582934618)', '2026-07-21 16:25:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376886790618 -2.8057706728578)'), GeomFromEWKT('SRID=4674;POINT (-40.376793751493 -2.80582934618)'))) / (select extract(epoch from '2026-07-21 16:25:48'::timestamp) - extract(epoch from '2026-07-21 16:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376886790618 -2.8057706728578)'), GeomFromEWKT('SRID=4674;POINT (-40.376793751493 -2.80582934618)'))) / (select extract(epoch from '2026-07-21 16:25:48'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.376676656306 -2.8058852534741)', '2026-07-21 16:25:55', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376793751493 -2.80582934618)'), GeomFromEWKT('SRID=4674;POINT (-40.376676656306 -2.8058852534741)'))) / (select extract(epoch from '2026-07-21 16:25:55'::timestamp) - extract(epoch from '2026-07-21 16:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376793751493 -2.80582934618)'), GeomFromEWKT('SRID=4674;POINT (-40.376676656306 -2.8058852534741)'))) / (select extract(epoch from '2026-07-21 16:25:55'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.376552939415 -2.8059190325439)', '2026-07-21 16:26:02', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376676656306 -2.8058852534741)'), GeomFromEWKT('SRID=4674;POINT (-40.376552939415 -2.8059190325439)'))) / (select extract(epoch from '2026-07-21 16:26:02'::timestamp) - extract(epoch from '2026-07-21 16:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376676656306 -2.8058852534741)'), GeomFromEWKT('SRID=4674;POINT (-40.376552939415 -2.8059190325439)'))) / (select extract(epoch from '2026-07-21 16:26:02'::timestamp) - extract(epoch from '2026-07-21 16:25: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'), 47833, 'SRID=4674;POINT (-40.376424863935 -2.8059221338481)', '2026-07-21 16:26:09', 15.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376552939415 -2.8059190325439)'), GeomFromEWKT('SRID=4674;POINT (-40.376424863935 -2.8059221338481)'))) / (select extract(epoch from '2026-07-21 16:26:09'::timestamp) - extract(epoch from '2026-07-21 16:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376552939415 -2.8059190325439)'), GeomFromEWKT('SRID=4674;POINT (-40.376424863935 -2.8059221338481)'))) / (select extract(epoch from '2026-07-21 16:26:09'::timestamp) - extract(epoch from '2026-07-21 16:26: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'), 47833, 'SRID=4674;POINT (-40.376276420429 -2.805895647034)', '2026-07-21 16:26:15', 14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376424863935 -2.8059221338481)'), GeomFromEWKT('SRID=4674;POINT (-40.376276420429 -2.805895647034)'))) / (select extract(epoch from '2026-07-21 16:26:15'::timestamp) - extract(epoch from '2026-07-21 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376424863935 -2.8059221338481)'), GeomFromEWKT('SRID=4674;POINT (-40.376276420429 -2.805895647034)'))) / (select extract(epoch from '2026-07-21 16:26:15'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.376163935289 -2.8058535698801)', '2026-07-21 16:26:21', 14.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376276420429 -2.805895647034)'), GeomFromEWKT('SRID=4674;POINT (-40.376163935289 -2.8058535698801)'))) / (select extract(epoch from '2026-07-21 16:26:21'::timestamp) - extract(epoch from '2026-07-21 16:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376276420429 -2.805895647034)'), GeomFromEWKT('SRID=4674;POINT (-40.376163935289 -2.8058535698801)'))) / (select extract(epoch from '2026-07-21 16:26:21'::timestamp) - extract(epoch from '2026-07-21 16:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.376063520089 -2.8058337885886)', '2026-07-21 16:26:28', 13.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376163935289 -2.8058535698801)'), GeomFromEWKT('SRID=4674;POINT (-40.376063520089 -2.8058337885886)'))) / (select extract(epoch from '2026-07-21 16:26:28'::timestamp) - extract(epoch from '2026-07-21 16:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376163935289 -2.8058535698801)'), GeomFromEWKT('SRID=4674;POINT (-40.376063520089 -2.8058337885886)'))) / (select extract(epoch from '2026-07-21 16:26:28'::timestamp) - extract(epoch from '2026-07-21 16:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.376055054367 -2.8058331180364)', '2026-07-21 16:26:29', 12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376063520089 -2.8058337885886)'), GeomFromEWKT('SRID=4674;POINT (-40.376055054367 -2.8058331180364)'))) / (select extract(epoch from '2026-07-21 16:26:29'::timestamp) - extract(epoch from '2026-07-21 16:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376063520089 -2.8058337885886)'), GeomFromEWKT('SRID=4674;POINT (-40.376055054367 -2.8058331180364)'))) / (select extract(epoch from '2026-07-21 16:26:29'::timestamp) - extract(epoch from '2026-07-21 16:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.375979281962 -2.8058033622801)', '2026-07-21 16:26:36', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376055054367 -2.8058331180364)'), GeomFromEWKT('SRID=4674;POINT (-40.375979281962 -2.8058033622801)'))) / (select extract(epoch from '2026-07-21 16:26:36'::timestamp) - extract(epoch from '2026-07-21 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376055054367 -2.8058331180364)'), GeomFromEWKT('SRID=4674;POINT (-40.375979281962 -2.8058033622801)'))) / (select extract(epoch from '2026-07-21 16:26:36'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.375877693295 -2.805787269026)', '2026-07-21 16:26:43', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375979281962 -2.8058033622801)'), GeomFromEWKT('SRID=4674;POINT (-40.375877693295 -2.805787269026)'))) / (select extract(epoch from '2026-07-21 16:26:43'::timestamp) - extract(epoch from '2026-07-21 16:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375979281962 -2.8058033622801)'), GeomFromEWKT('SRID=4674;POINT (-40.375877693295 -2.805787269026)'))) / (select extract(epoch from '2026-07-21 16:26:43'::timestamp) - extract(epoch from '2026-07-21 16:26: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'), 47833, 'SRID=4674;POINT (-40.375769399107 -2.8057771269232)', '2026-07-21 16:26:50', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375877693295 -2.805787269026)'), GeomFromEWKT('SRID=4674;POINT (-40.375769399107 -2.8057771269232)'))) / (select extract(epoch from '2026-07-21 16:26:50'::timestamp) - extract(epoch from '2026-07-21 16:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375877693295 -2.805787269026)'), GeomFromEWKT('SRID=4674;POINT (-40.375769399107 -2.8057771269232)'))) / (select extract(epoch from '2026-07-21 16:26:50'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.375629588962 -2.8057279251516)', '2026-07-21 16:26:58', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375769399107 -2.8057771269232)'), GeomFromEWKT('SRID=4674;POINT (-40.375629588962 -2.8057279251516)'))) / (select extract(epoch from '2026-07-21 16:26:58'::timestamp) - extract(epoch from '2026-07-21 16:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375769399107 -2.8057771269232)'), GeomFromEWKT('SRID=4674;POINT (-40.375629588962 -2.8057279251516)'))) / (select extract(epoch from '2026-07-21 16:26:58'::timestamp) - extract(epoch from '2026-07-21 16:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.375529592857 -2.805686853826)', '2026-07-21 16:27:04', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375629588962 -2.8057279251516)'), GeomFromEWKT('SRID=4674;POINT (-40.375529592857 -2.805686853826)'))) / (select extract(epoch from '2026-07-21 16:27:04'::timestamp) - extract(epoch from '2026-07-21 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375629588962 -2.8057279251516)'), GeomFromEWKT('SRID=4674;POINT (-40.375529592857 -2.805686853826)'))) / (select extract(epoch from '2026-07-21 16:27:04'::timestamp) - extract(epoch from '2026-07-21 16:26: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'), 47833, 'SRID=4674;POINT (-40.375420544297 -2.8056881949306)', '2026-07-21 16:27:10', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375529592857 -2.805686853826)'), GeomFromEWKT('SRID=4674;POINT (-40.375420544297 -2.8056881949306)'))) / (select extract(epoch from '2026-07-21 16:27:10'::timestamp) - extract(epoch from '2026-07-21 16:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375529592857 -2.805686853826)'), GeomFromEWKT('SRID=4674;POINT (-40.375420544297 -2.8056881949306)'))) / (select extract(epoch from '2026-07-21 16:27:10'::timestamp) - extract(epoch from '2026-07-21 16:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.37529816851 -2.8056857641786)', '2026-07-21 16:27:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375420544297 -2.8056881949306)'), GeomFromEWKT('SRID=4674;POINT (-40.37529816851 -2.8056857641786)'))) / (select extract(epoch from '2026-07-21 16:27:17'::timestamp) - extract(epoch from '2026-07-21 16:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375420544297 -2.8056881949306)'), GeomFromEWKT('SRID=4674;POINT (-40.37529816851 -2.8056857641786)'))) / (select extract(epoch from '2026-07-21 16:27:17'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.375201441348 -2.8056891169399)', '2026-07-21 16:27:24', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37529816851 -2.8056857641786)'), GeomFromEWKT('SRID=4674;POINT (-40.375201441348 -2.8056891169399)'))) / (select extract(epoch from '2026-07-21 16:27:24'::timestamp) - extract(epoch from '2026-07-21 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37529816851 -2.8056857641786)'), GeomFromEWKT('SRID=4674;POINT (-40.375201441348 -2.8056891169399)'))) / (select extract(epoch from '2026-07-21 16:27:24'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.375044196844 -2.8056895360351)', '2026-07-21 16:27:33', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375201441348 -2.8056891169399)'), GeomFromEWKT('SRID=4674;POINT (-40.375044196844 -2.8056895360351)'))) / (select extract(epoch from '2026-07-21 16:27:33'::timestamp) - extract(epoch from '2026-07-21 16:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375201441348 -2.8056891169399)'), GeomFromEWKT('SRID=4674;POINT (-40.375044196844 -2.8056895360351)'))) / (select extract(epoch from '2026-07-21 16:27:33'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.374938417226 -2.8057056292892)', '2026-07-21 16:27:39', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375044196844 -2.8056895360351)'), GeomFromEWKT('SRID=4674;POINT (-40.374938417226 -2.8057056292892)'))) / (select extract(epoch from '2026-07-21 16:27:39'::timestamp) - extract(epoch from '2026-07-21 16:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375044196844 -2.8056895360351)'), GeomFromEWKT('SRID=4674;POINT (-40.374938417226 -2.8057056292892)'))) / (select extract(epoch from '2026-07-21 16:27:39'::timestamp) - extract(epoch from '2026-07-21 16:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.374800283462 -2.8057042881846)', '2026-07-21 16:27:47', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374938417226 -2.8057056292892)'), GeomFromEWKT('SRID=4674;POINT (-40.374800283462 -2.8057042881846)'))) / (select extract(epoch from '2026-07-21 16:27:47'::timestamp) - extract(epoch from '2026-07-21 16:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374938417226 -2.8057056292892)'), GeomFromEWKT('SRID=4674;POINT (-40.374800283462 -2.8057042881846)'))) / (select extract(epoch from '2026-07-21 16:27:47'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.374695342034 -2.8057058807462)', '2026-07-21 16:27:54', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374800283462 -2.8057042881846)'), GeomFromEWKT('SRID=4674;POINT (-40.374695342034 -2.8057058807462)'))) / (select extract(epoch from '2026-07-21 16:27:54'::timestamp) - extract(epoch from '2026-07-21 16:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374800283462 -2.8057042881846)'), GeomFromEWKT('SRID=4674;POINT (-40.374695342034 -2.8057058807462)'))) / (select extract(epoch from '2026-07-21 16:27:54'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.37455377169 -2.8057426773012)', '2026-07-21 16:28:01', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374695342034 -2.8057058807462)'), GeomFromEWKT('SRID=4674;POINT (-40.37455377169 -2.8057426773012)'))) / (select extract(epoch from '2026-07-21 16:28:01'::timestamp) - extract(epoch from '2026-07-21 16:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374695342034 -2.8057058807462)'), GeomFromEWKT('SRID=4674;POINT (-40.37455377169 -2.8057426773012)'))) / (select extract(epoch from '2026-07-21 16:28:01'::timestamp) - extract(epoch from '2026-07-21 16:27: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'), 47833, 'SRID=4674;POINT (-40.374445728958 -2.8057489637285)', '2026-07-21 16:28:08', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37455377169 -2.8057426773012)'), GeomFromEWKT('SRID=4674;POINT (-40.374445728958 -2.8057489637285)'))) / (select extract(epoch from '2026-07-21 16:28:08'::timestamp) - extract(epoch from '2026-07-21 16:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37455377169 -2.8057426773012)'), GeomFromEWKT('SRID=4674;POINT (-40.374445728958 -2.8057489637285)'))) / (select extract(epoch from '2026-07-21 16:28:08'::timestamp) - extract(epoch from '2026-07-21 16:28: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'), 47833, 'SRID=4674;POINT (-40.374327041209 -2.8057576809078)', '2026-07-21 16:28:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374445728958 -2.8057489637285)'), GeomFromEWKT('SRID=4674;POINT (-40.374327041209 -2.8057576809078)'))) / (select extract(epoch from '2026-07-21 16:28:15'::timestamp) - extract(epoch from '2026-07-21 16:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374445728958 -2.8057489637285)'), GeomFromEWKT('SRID=4674;POINT (-40.374327041209 -2.8057576809078)'))) / (select extract(epoch from '2026-07-21 16:28:15'::timestamp) - extract(epoch from '2026-07-21 16:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.37421522662 -2.805739659816)', '2026-07-21 16:28:22', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374327041209 -2.8057576809078)'), GeomFromEWKT('SRID=4674;POINT (-40.37421522662 -2.805739659816)'))) / (select extract(epoch from '2026-07-21 16:28:22'::timestamp) - extract(epoch from '2026-07-21 16:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374327041209 -2.8057576809078)'), GeomFromEWKT('SRID=4674;POINT (-40.37421522662 -2.805739659816)'))) / (select extract(epoch from '2026-07-21 16:28:22'::timestamp) - extract(epoch from '2026-07-21 16:28: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'), 47833, 'SRID=4674;POINT (-40.374067369848 -2.8057432640344)', '2026-07-21 16:28:29', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37421522662 -2.805739659816)'), GeomFromEWKT('SRID=4674;POINT (-40.374067369848 -2.8057432640344)'))) / (select extract(epoch from '2026-07-21 16:28:29'::timestamp) - extract(epoch from '2026-07-21 16:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37421522662 -2.805739659816)'), GeomFromEWKT('SRID=4674;POINT (-40.374067369848 -2.8057432640344)'))) / (select extract(epoch from '2026-07-21 16:28:29'::timestamp) - extract(epoch from '2026-07-21 16:28: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'), 47833, 'SRID=4674;POINT (-40.373881375417 -2.8057410847396)', '2026-07-21 16:28:37', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374067369848 -2.8057432640344)'), GeomFromEWKT('SRID=4674;POINT (-40.373881375417 -2.8057410847396)'))) / (select extract(epoch from '2026-07-21 16:28:37'::timestamp) - extract(epoch from '2026-07-21 16:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374067369848 -2.8057432640344)'), GeomFromEWKT('SRID=4674;POINT (-40.373881375417 -2.8057410847396)'))) / (select extract(epoch from '2026-07-21 16:28:37'::timestamp) - extract(epoch from '2026-07-21 16:28: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'), 47833, 'SRID=4674;POINT (-40.373742487282 -2.8057346306741)', '2026-07-21 16:28:45', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373881375417 -2.8057410847396)'), GeomFromEWKT('SRID=4674;POINT (-40.373742487282 -2.8057346306741)'))) / (select extract(epoch from '2026-07-21 16:28:45'::timestamp) - extract(epoch from '2026-07-21 16:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373881375417 -2.8057410847396)'), GeomFromEWKT('SRID=4674;POINT (-40.373742487282 -2.8057346306741)'))) / (select extract(epoch from '2026-07-21 16:28:45'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.373587924987 -2.8057294338942)', '2026-07-21 16:28:53', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373742487282 -2.8057346306741)'), GeomFromEWKT('SRID=4674;POINT (-40.373587924987 -2.8057294338942)'))) / (select extract(epoch from '2026-07-21 16:28:53'::timestamp) - extract(epoch from '2026-07-21 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373742487282 -2.8057346306741)'), GeomFromEWKT('SRID=4674;POINT (-40.373587924987 -2.8057294338942)'))) / (select extract(epoch from '2026-07-21 16:28:53'::timestamp) - extract(epoch from '2026-07-21 16:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.373425651342 -2.8057452756912)', '2026-07-21 16:29:01', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373587924987 -2.8057294338942)'), GeomFromEWKT('SRID=4674;POINT (-40.373425651342 -2.8057452756912)'))) / (select extract(epoch from '2026-07-21 16:29:01'::timestamp) - extract(epoch from '2026-07-21 16:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373587924987 -2.8057294338942)'), GeomFromEWKT('SRID=4674;POINT (-40.373425651342 -2.8057452756912)'))) / (select extract(epoch from '2026-07-21 16:29:01'::timestamp) - extract(epoch from '2026-07-21 16:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.373274944723 -2.805744856596)', '2026-07-21 16:29:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373425651342 -2.8057452756912)'), GeomFromEWKT('SRID=4674;POINT (-40.373274944723 -2.805744856596)'))) / (select extract(epoch from '2026-07-21 16:29:09'::timestamp) - extract(epoch from '2026-07-21 16:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373425651342 -2.8057452756912)'), GeomFromEWKT('SRID=4674;POINT (-40.373274944723 -2.805744856596)'))) / (select extract(epoch from '2026-07-21 16:29:09'::timestamp) - extract(epoch from '2026-07-21 16:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.373156676069 -2.8057217225432)', '2026-07-21 16:29:17', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373274944723 -2.805744856596)'), GeomFromEWKT('SRID=4674;POINT (-40.373156676069 -2.8057217225432)'))) / (select extract(epoch from '2026-07-21 16:29:17'::timestamp) - extract(epoch from '2026-07-21 16:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373274944723 -2.805744856596)'), GeomFromEWKT('SRID=4674;POINT (-40.373156676069 -2.8057217225432)'))) / (select extract(epoch from '2026-07-21 16:29:17'::timestamp) - extract(epoch from '2026-07-21 16:29: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'), 47833, 'SRID=4674;POINT (-40.373027762398 -2.8056889493018)', '2026-07-21 16:29:25', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373156676069 -2.8057217225432)'), GeomFromEWKT('SRID=4674;POINT (-40.373027762398 -2.8056889493018)'))) / (select extract(epoch from '2026-07-21 16:29:25'::timestamp) - extract(epoch from '2026-07-21 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373156676069 -2.8057217225432)'), GeomFromEWKT('SRID=4674;POINT (-40.373027762398 -2.8056889493018)'))) / (select extract(epoch from '2026-07-21 16:29:25'::timestamp) - extract(epoch from '2026-07-21 16:29: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'), 47833, 'SRID=4674;POINT (-40.372906979173 -2.8056479617953)', '2026-07-21 16:29:33', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373027762398 -2.8056889493018)'), GeomFromEWKT('SRID=4674;POINT (-40.372906979173 -2.8056479617953)'))) / (select extract(epoch from '2026-07-21 16:29:33'::timestamp) - extract(epoch from '2026-07-21 16:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373027762398 -2.8056889493018)'), GeomFromEWKT('SRID=4674;POINT (-40.372906979173 -2.8056479617953)'))) / (select extract(epoch from '2026-07-21 16:29:33'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.372766582295 -2.8056504763663)', '2026-07-21 16:29:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372906979173 -2.8056479617953)'), GeomFromEWKT('SRID=4674;POINT (-40.372766582295 -2.8056504763663)'))) / (select extract(epoch from '2026-07-21 16:29:40'::timestamp) - extract(epoch from '2026-07-21 16:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372906979173 -2.8056479617953)'), GeomFromEWKT('SRID=4674;POINT (-40.372766582295 -2.8056504763663)'))) / (select extract(epoch from '2026-07-21 16:29:40'::timestamp) - extract(epoch from '2026-07-21 16:29: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'), 47833, 'SRID=4674;POINT (-40.372621240094 -2.8056501410902)', '2026-07-21 16:29:48', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372766582295 -2.8056504763663)'), GeomFromEWKT('SRID=4674;POINT (-40.372621240094 -2.8056501410902)'))) / (select extract(epoch from '2026-07-21 16:29:48'::timestamp) - extract(epoch from '2026-07-21 16:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372766582295 -2.8056504763663)'), GeomFromEWKT('SRID=4674;POINT (-40.372621240094 -2.8056501410902)'))) / (select extract(epoch from '2026-07-21 16:29:48'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.372462738305 -2.8056169487536)', '2026-07-21 16:29:56', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372621240094 -2.8056501410902)'), GeomFromEWKT('SRID=4674;POINT (-40.372462738305 -2.8056169487536)'))) / (select extract(epoch from '2026-07-21 16:29:56'::timestamp) - extract(epoch from '2026-07-21 16:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372621240094 -2.8056501410902)'), GeomFromEWKT('SRID=4674;POINT (-40.372462738305 -2.8056169487536)'))) / (select extract(epoch from '2026-07-21 16:29:56'::timestamp) - extract(epoch from '2026-07-21 16:29: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'), 47833, 'SRID=4674;POINT (-40.372374476865 -2.805586187169)', '2026-07-21 16:30:02', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372462738305 -2.8056169487536)'), GeomFromEWKT('SRID=4674;POINT (-40.372374476865 -2.805586187169)'))) / (select extract(epoch from '2026-07-21 16:30:02'::timestamp) - extract(epoch from '2026-07-21 16:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372462738305 -2.8056169487536)'), GeomFromEWKT('SRID=4674;POINT (-40.372374476865 -2.805586187169)'))) / (select extract(epoch from '2026-07-21 16:30:02'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.372235085815 -2.8055462893099)', '2026-07-21 16:30:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372374476865 -2.805586187169)'), GeomFromEWKT('SRID=4674;POINT (-40.372235085815 -2.8055462893099)'))) / (select extract(epoch from '2026-07-21 16:30:12'::timestamp) - extract(epoch from '2026-07-21 16:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372374476865 -2.805586187169)'), GeomFromEWKT('SRID=4674;POINT (-40.372235085815 -2.8055462893099)'))) / (select extract(epoch from '2026-07-21 16:30:12'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.37212385796 -2.8055248316377)', '2026-07-21 16:30:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372235085815 -2.8055462893099)'), GeomFromEWKT('SRID=4674;POINT (-40.37212385796 -2.8055248316377)'))) / (select extract(epoch from '2026-07-21 16:30:19'::timestamp) - extract(epoch from '2026-07-21 16:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372235085815 -2.8055462893099)'), GeomFromEWKT('SRID=4674;POINT (-40.37212385796 -2.8055248316377)'))) / (select extract(epoch from '2026-07-21 16:30:19'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371967451647 -2.8055047988892)', '2026-07-21 16:30:28', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37212385796 -2.8055248316377)'), GeomFromEWKT('SRID=4674;POINT (-40.371967451647 -2.8055047988892)'))) / (select extract(epoch from '2026-07-21 16:30:28'::timestamp) - extract(epoch from '2026-07-21 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37212385796 -2.8055248316377)'), GeomFromEWKT('SRID=4674;POINT (-40.371967451647 -2.8055047988892)'))) / (select extract(epoch from '2026-07-21 16:30:28'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.371832335368 -2.805506978184)', '2026-07-21 16:30:35', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371967451647 -2.8055047988892)'), GeomFromEWKT('SRID=4674;POINT (-40.371832335368 -2.805506978184)'))) / (select extract(epoch from '2026-07-21 16:30:35'::timestamp) - extract(epoch from '2026-07-21 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371967451647 -2.8055047988892)'), GeomFromEWKT('SRID=4674;POINT (-40.371832335368 -2.805506978184)'))) / (select extract(epoch from '2026-07-21 16:30:35'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371690345928 -2.8054909687489)', '2026-07-21 16:30:43', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371832335368 -2.805506978184)'), GeomFromEWKT('SRID=4674;POINT (-40.371690345928 -2.8054909687489)'))) / (select extract(epoch from '2026-07-21 16:30:43'::timestamp) - extract(epoch from '2026-07-21 16:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371832335368 -2.805506978184)'), GeomFromEWKT('SRID=4674;POINT (-40.371690345928 -2.8054909687489)'))) / (select extract(epoch from '2026-07-21 16:30:43'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371547266841 -2.8054739534855)', '2026-07-21 16:30:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371690345928 -2.8054909687489)'), GeomFromEWKT('SRID=4674;POINT (-40.371547266841 -2.8054739534855)'))) / (select extract(epoch from '2026-07-21 16:30:51'::timestamp) - extract(epoch from '2026-07-21 16:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371690345928 -2.8054909687489)'), GeomFromEWKT('SRID=4674;POINT (-40.371547266841 -2.8054739534855)'))) / (select extract(epoch from '2026-07-21 16:30:51'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371423130855 -2.8054590336978)', '2026-07-21 16:30:58', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371547266841 -2.8054739534855)'), GeomFromEWKT('SRID=4674;POINT (-40.371423130855 -2.8054590336978)'))) / (select extract(epoch from '2026-07-21 16:30:58'::timestamp) - extract(epoch from '2026-07-21 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371547266841 -2.8054739534855)'), GeomFromEWKT('SRID=4674;POINT (-40.371423130855 -2.8054590336978)'))) / (select extract(epoch from '2026-07-21 16:30:58'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371296145022 -2.8054599557072)', '2026-07-21 16:31:06', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371423130855 -2.8054590336978)'), GeomFromEWKT('SRID=4674;POINT (-40.371296145022 -2.8054599557072)'))) / (select extract(epoch from '2026-07-21 16:31:06'::timestamp) - extract(epoch from '2026-07-21 16:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371423130855 -2.8054590336978)'), GeomFromEWKT('SRID=4674;POINT (-40.371296145022 -2.8054599557072)'))) / (select extract(epoch from '2026-07-21 16:31:06'::timestamp) - extract(epoch from '2026-07-21 16:30: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'), 47833, 'SRID=4674;POINT (-40.371184330434 -2.8054470475763)', '2026-07-21 16:31:13', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371296145022 -2.8054599557072)'), GeomFromEWKT('SRID=4674;POINT (-40.371184330434 -2.8054470475763)'))) / (select extract(epoch from '2026-07-21 16:31:13'::timestamp) - extract(epoch from '2026-07-21 16:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371296145022 -2.8054599557072)'), GeomFromEWKT('SRID=4674;POINT (-40.371184330434 -2.8054470475763)'))) / (select extract(epoch from '2026-07-21 16:31:13'::timestamp) - extract(epoch from '2026-07-21 16:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.371014429256 -2.8054298646748)', '2026-07-21 16:31:21', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371184330434 -2.8054470475763)'), GeomFromEWKT('SRID=4674;POINT (-40.371014429256 -2.8054298646748)'))) / (select extract(epoch from '2026-07-21 16:31:21'::timestamp) - extract(epoch from '2026-07-21 16:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371184330434 -2.8054470475763)'), GeomFromEWKT('SRID=4674;POINT (-40.371014429256 -2.8054298646748)'))) / (select extract(epoch from '2026-07-21 16:31:21'::timestamp) - extract(epoch from '2026-07-21 16:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370929436758 -2.8054156992584)', '2026-07-21 16:31:26', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371014429256 -2.8054298646748)'), GeomFromEWKT('SRID=4674;POINT (-40.370929436758 -2.8054156992584)'))) / (select extract(epoch from '2026-07-21 16:31:26'::timestamp) - extract(epoch from '2026-07-21 16:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371014429256 -2.8054298646748)'), GeomFromEWKT('SRID=4674;POINT (-40.370929436758 -2.8054156992584)'))) / (select extract(epoch from '2026-07-21 16:31:26'::timestamp) - extract(epoch from '2026-07-21 16:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370782669634 -2.8053954988718)', '2026-07-21 16:31:34', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370929436758 -2.8054156992584)'), GeomFromEWKT('SRID=4674;POINT (-40.370782669634 -2.8053954988718)'))) / (select extract(epoch from '2026-07-21 16:31:34'::timestamp) - extract(epoch from '2026-07-21 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370929436758 -2.8054156992584)'), GeomFromEWKT('SRID=4674;POINT (-40.370782669634 -2.8053954988718)'))) / (select extract(epoch from '2026-07-21 16:31:34'::timestamp) - extract(epoch from '2026-07-21 16:31: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'), 47833, 'SRID=4674;POINT (-40.370640764013 -2.8053781483322)', '2026-07-21 16:31:42', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370782669634 -2.8053954988718)'), GeomFromEWKT('SRID=4674;POINT (-40.370640764013 -2.8053781483322)'))) / (select extract(epoch from '2026-07-21 16:31:42'::timestamp) - extract(epoch from '2026-07-21 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370782669634 -2.8053954988718)'), GeomFromEWKT('SRID=4674;POINT (-40.370640764013 -2.8053781483322)'))) / (select extract(epoch from '2026-07-21 16:31:42'::timestamp) - extract(epoch from '2026-07-21 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370480753481 -2.8053688444197)', '2026-07-21 16:31:50', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370640764013 -2.8053781483322)'), GeomFromEWKT('SRID=4674;POINT (-40.370480753481 -2.8053688444197)'))) / (select extract(epoch from '2026-07-21 16:31:50'::timestamp) - extract(epoch from '2026-07-21 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370640764013 -2.8053781483322)'), GeomFromEWKT('SRID=4674;POINT (-40.370480753481 -2.8053688444197)'))) / (select extract(epoch from '2026-07-21 16:31:50'::timestamp) - extract(epoch from '2026-07-21 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370359551162 -2.8053657431155)', '2026-07-21 16:31:57', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370480753481 -2.8053688444197)'), GeomFromEWKT('SRID=4674;POINT (-40.370359551162 -2.8053657431155)'))) / (select extract(epoch from '2026-07-21 16:31:57'::timestamp) - extract(epoch from '2026-07-21 16:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370480753481 -2.8053688444197)'), GeomFromEWKT('SRID=4674;POINT (-40.370359551162 -2.8053657431155)'))) / (select extract(epoch from '2026-07-21 16:31:57'::timestamp) - extract(epoch from '2026-07-21 16:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370203396305 -2.8053565230221)', '2026-07-21 16:32:06', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370359551162 -2.8053657431155)'), GeomFromEWKT('SRID=4674;POINT (-40.370203396305 -2.8053565230221)'))) / (select extract(epoch from '2026-07-21 16:32:06'::timestamp) - extract(epoch from '2026-07-21 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370359551162 -2.8053657431155)'), GeomFromEWKT('SRID=4674;POINT (-40.370203396305 -2.8053565230221)'))) / (select extract(epoch from '2026-07-21 16:32:06'::timestamp) - extract(epoch from '2026-07-21 16:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.370085043833 -2.8053439501673)', '2026-07-21 16:32:13', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370203396305 -2.8053565230221)'), GeomFromEWKT('SRID=4674;POINT (-40.370085043833 -2.8053439501673)'))) / (select extract(epoch from '2026-07-21 16:32:13'::timestamp) - extract(epoch from '2026-07-21 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370203396305 -2.8053565230221)'), GeomFromEWKT('SRID=4674;POINT (-40.370085043833 -2.8053439501673)'))) / (select extract(epoch from '2026-07-21 16:32:13'::timestamp) - extract(epoch from '2026-07-21 16:32: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'), 47833, 'SRID=4674;POINT (-40.369967445731 -2.8053454589099)', '2026-07-21 16:32:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370085043833 -2.8053439501673)'), GeomFromEWKT('SRID=4674;POINT (-40.369967445731 -2.8053454589099)'))) / (select extract(epoch from '2026-07-21 16:32:20'::timestamp) - extract(epoch from '2026-07-21 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370085043833 -2.8053439501673)'), GeomFromEWKT('SRID=4674;POINT (-40.369967445731 -2.8053454589099)'))) / (select extract(epoch from '2026-07-21 16:32:20'::timestamp) - extract(epoch from '2026-07-21 16:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.369814727455 -2.8053629770875)', '2026-07-21 16:32:29', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369967445731 -2.8053454589099)'), GeomFromEWKT('SRID=4674;POINT (-40.369814727455 -2.8053629770875)'))) / (select extract(epoch from '2026-07-21 16:32:29'::timestamp) - extract(epoch from '2026-07-21 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369967445731 -2.8053454589099)'), GeomFromEWKT('SRID=4674;POINT (-40.369814727455 -2.8053629770875)'))) / (select extract(epoch from '2026-07-21 16:32:29'::timestamp) - extract(epoch from '2026-07-21 16:32: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'), 47833, 'SRID=4674;POINT (-40.369672486559 -2.8053868655115)', '2026-07-21 16:32:37', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369814727455 -2.8053629770875)'), GeomFromEWKT('SRID=4674;POINT (-40.369672486559 -2.8053868655115)'))) / (select extract(epoch from '2026-07-21 16:32:37'::timestamp) - extract(epoch from '2026-07-21 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369814727455 -2.8053629770875)'), GeomFromEWKT('SRID=4674;POINT (-40.369672486559 -2.8053868655115)'))) / (select extract(epoch from '2026-07-21 16:32:37'::timestamp) - extract(epoch from '2026-07-21 16:32: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'), 47833, 'SRID=4674;POINT (-40.369545249268 -2.8054148610681)', '2026-07-21 16:32:44', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369672486559 -2.8053868655115)'), GeomFromEWKT('SRID=4674;POINT (-40.369545249268 -2.8054148610681)'))) / (select extract(epoch from '2026-07-21 16:32:44'::timestamp) - extract(epoch from '2026-07-21 16:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369672486559 -2.8053868655115)'), GeomFromEWKT('SRID=4674;POINT (-40.369545249268 -2.8054148610681)'))) / (select extract(epoch from '2026-07-21 16:32:44'::timestamp) - extract(epoch from '2026-07-21 16:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.36943083629 -2.8054150287062)', '2026-07-21 16:32:52', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369545249268 -2.8054148610681)'), GeomFromEWKT('SRID=4674;POINT (-40.36943083629 -2.8054150287062)'))) / (select extract(epoch from '2026-07-21 16:32:52'::timestamp) - extract(epoch from '2026-07-21 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369545249268 -2.8054148610681)'), GeomFromEWKT('SRID=4674;POINT (-40.36943083629 -2.8054150287062)'))) / (select extract(epoch from '2026-07-21 16:32:52'::timestamp) - extract(epoch from '2026-07-21 16:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.369295887649 -2.8054189682007)', '2026-07-21 16:32:59', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36943083629 -2.8054150287062)'), GeomFromEWKT('SRID=4674;POINT (-40.369295887649 -2.8054189682007)'))) / (select extract(epoch from '2026-07-21 16:32:59'::timestamp) - extract(epoch from '2026-07-21 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36943083629 -2.8054150287062)'), GeomFromEWKT('SRID=4674;POINT (-40.369295887649 -2.8054189682007)'))) / (select extract(epoch from '2026-07-21 16:32:59'::timestamp) - extract(epoch from '2026-07-21 16:32: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'), 47833, 'SRID=4674;POINT (-40.369147947058 -2.805411843583)', '2026-07-21 16:33:06', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369295887649 -2.8054189682007)'), GeomFromEWKT('SRID=4674;POINT (-40.369147947058 -2.805411843583)'))) / (select extract(epoch from '2026-07-21 16:33:06'::timestamp) - extract(epoch from '2026-07-21 16:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369295887649 -2.8054189682007)'), GeomFromEWKT('SRID=4674;POINT (-40.369147947058 -2.805411843583)'))) / (select extract(epoch from '2026-07-21 16:33:06'::timestamp) - extract(epoch from '2026-07-21 16:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.368998581544 -2.8053983487189)', '2026-07-21 16:33:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369147947058 -2.805411843583)'), GeomFromEWKT('SRID=4674;POINT (-40.368998581544 -2.8053983487189)'))) / (select extract(epoch from '2026-07-21 16:33:14'::timestamp) - extract(epoch from '2026-07-21 16:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369147947058 -2.805411843583)'), GeomFromEWKT('SRID=4674;POINT (-40.368998581544 -2.8053983487189)'))) / (select extract(epoch from '2026-07-21 16:33:14'::timestamp) - extract(epoch from '2026-07-21 16:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.368860699236 -2.8054020367563)', '2026-07-21 16:33:23', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368998581544 -2.8053983487189)'), GeomFromEWKT('SRID=4674;POINT (-40.368860699236 -2.8054020367563)'))) / (select extract(epoch from '2026-07-21 16:33:23'::timestamp) - extract(epoch from '2026-07-21 16:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368998581544 -2.8053983487189)'), GeomFromEWKT('SRID=4674;POINT (-40.368860699236 -2.8054020367563)'))) / (select extract(epoch from '2026-07-21 16:33:23'::timestamp) - extract(epoch from '2026-07-21 16:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.368747962639 -2.8054280206561)', '2026-07-21 16:33:29', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368860699236 -2.8054020367563)'), GeomFromEWKT('SRID=4674;POINT (-40.368747962639 -2.8054280206561)'))) / (select extract(epoch from '2026-07-21 16:33:29'::timestamp) - extract(epoch from '2026-07-21 16:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368860699236 -2.8054020367563)'), GeomFromEWKT('SRID=4674;POINT (-40.368747962639 -2.8054280206561)'))) / (select extract(epoch from '2026-07-21 16:33:29'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47833, 'SRID=4674;POINT (-40.368603123352 -2.8054785635322)', '2026-07-21 16:33:38', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368747962639 -2.8054280206561)'), GeomFromEWKT('SRID=4674;POINT (-40.368603123352 -2.8054785635322)'))) / (select extract(epoch from '2026-07-21 16:33:38'::timestamp) - extract(epoch from '2026-07-21 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368747962639 -2.8054280206561)'), GeomFromEWKT('SRID=4674;POINT (-40.368603123352 -2.8054785635322)'))) / (select extract(epoch from '2026-07-21 16:33:38'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47833, 'SRID=4674;POINT (-40.368496924639 -2.8055242449045)', '2026-07-21 16:33:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368603123352 -2.8054785635322)'), GeomFromEWKT('SRID=4674;POINT (-40.368496924639 -2.8055242449045)'))) / (select extract(epoch from '2026-07-21 16:33:45'::timestamp) - extract(epoch from '2026-07-21 16:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368603123352 -2.8054785635322)'), GeomFromEWKT('SRID=4674;POINT (-40.368496924639 -2.8055242449045)'))) / (select extract(epoch from '2026-07-21 16:33:45'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47833, 'SRID=4674;POINT (-40.368338171393 -2.8055295255035)', '2026-07-21 16:33:53', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368496924639 -2.8055242449045)'), GeomFromEWKT('SRID=4674;POINT (-40.368338171393 -2.8055295255035)'))) / (select extract(epoch from '2026-07-21 16:33:53'::timestamp) - extract(epoch from '2026-07-21 16:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368496924639 -2.8055242449045)'), GeomFromEWKT('SRID=4674;POINT (-40.368338171393 -2.8055295255035)'))) / (select extract(epoch from '2026-07-21 16:33:53'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47833, 'SRID=4674;POINT (-40.36818603985 -2.8055372368544)', '2026-07-21 16:34:01', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368338171393 -2.8055295255035)'), GeomFromEWKT('SRID=4674;POINT (-40.36818603985 -2.8055372368544)'))) / (select extract(epoch from '2026-07-21 16:34:01'::timestamp) - extract(epoch from '2026-07-21 16:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368338171393 -2.8055295255035)'), GeomFromEWKT('SRID=4674;POINT (-40.36818603985 -2.8055372368544)'))) / (select extract(epoch from '2026-07-21 16:34:01'::timestamp) - extract(epoch from '2026-07-21 16:33: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'), 47833, 'SRID=4674;POINT (-40.368044553325 -2.8055330459028)', '2026-07-21 16:34:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36818603985 -2.8055372368544)'), GeomFromEWKT('SRID=4674;POINT (-40.368044553325 -2.8055330459028)'))) / (select extract(epoch from '2026-07-21 16:34:09'::timestamp) - extract(epoch from '2026-07-21 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36818603985 -2.8055372368544)'), GeomFromEWKT('SRID=4674;POINT (-40.368044553325 -2.8055330459028)'))) / (select extract(epoch from '2026-07-21 16:34:09'::timestamp) - extract(epoch from '2026-07-21 16:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.367938941345 -2.8055275976658)', '2026-07-21 16:34:15', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368044553325 -2.8055330459028)'), GeomFromEWKT('SRID=4674;POINT (-40.367938941345 -2.8055275976658)'))) / (select extract(epoch from '2026-07-21 16:34:15'::timestamp) - extract(epoch from '2026-07-21 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368044553325 -2.8055330459028)'), GeomFromEWKT('SRID=4674;POINT (-40.367938941345 -2.8055275976658)'))) / (select extract(epoch from '2026-07-21 16:34:15'::timestamp) - extract(epoch from '2026-07-21 16:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.367791419849 -2.805509744212)', '2026-07-21 16:34:22', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367938941345 -2.8055275976658)'), GeomFromEWKT('SRID=4674;POINT (-40.367791419849 -2.805509744212)'))) / (select extract(epoch from '2026-07-21 16:34:22'::timestamp) - extract(epoch from '2026-07-21 16:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367938941345 -2.8055275976658)'), GeomFromEWKT('SRID=4674;POINT (-40.367791419849 -2.805509744212)'))) / (select extract(epoch from '2026-07-21 16:34:22'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47833, 'SRID=4674;POINT (-40.367635684088 -2.8055286873132)', '2026-07-21 16:34:30', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367791419849 -2.805509744212)'), GeomFromEWKT('SRID=4674;POINT (-40.367635684088 -2.8055286873132)'))) / (select extract(epoch from '2026-07-21 16:34:30'::timestamp) - extract(epoch from '2026-07-21 16:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367791419849 -2.805509744212)'), GeomFromEWKT('SRID=4674;POINT (-40.367635684088 -2.8055286873132)'))) / (select extract(epoch from '2026-07-21 16:34:30'::timestamp) - extract(epoch from '2026-07-21 16:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.367492521182 -2.8055830858648)', '2026-07-21 16:34:39', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367635684088 -2.8055286873132)'), GeomFromEWKT('SRID=4674;POINT (-40.367492521182 -2.8055830858648)'))) / (select extract(epoch from '2026-07-21 16:34:39'::timestamp) - extract(epoch from '2026-07-21 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367635684088 -2.8055286873132)'), GeomFromEWKT('SRID=4674;POINT (-40.367492521182 -2.8055830858648)'))) / (select extract(epoch from '2026-07-21 16:34:39'::timestamp) - extract(epoch from '2026-07-21 16:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.367365535349 -2.8055842593312)', '2026-07-21 16:34:46', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367492521182 -2.8055830858648)'), GeomFromEWKT('SRID=4674;POINT (-40.367365535349 -2.8055842593312)'))) / (select extract(epoch from '2026-07-21 16:34:46'::timestamp) - extract(epoch from '2026-07-21 16:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367492521182 -2.8055830858648)'), GeomFromEWKT('SRID=4674;POINT (-40.367365535349 -2.8055842593312)'))) / (select extract(epoch from '2026-07-21 16:34:46'::timestamp) - extract(epoch from '2026-07-21 16:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.367242824286 -2.8055911324918)', '2026-07-21 16:34:53', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367365535349 -2.8055842593312)'), GeomFromEWKT('SRID=4674;POINT (-40.367242824286 -2.8055911324918)'))) / (select extract(epoch from '2026-07-21 16:34:53'::timestamp) - extract(epoch from '2026-07-21 16:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367365535349 -2.8055842593312)'), GeomFromEWKT('SRID=4674;POINT (-40.367242824286 -2.8055911324918)'))) / (select extract(epoch from '2026-07-21 16:34:53'::timestamp) - extract(epoch from '2026-07-21 16:34: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'), 47833, 'SRID=4674;POINT (-40.367039982229 -2.8056192956865)', '2026-07-21 16:35:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367242824286 -2.8055911324918)'), GeomFromEWKT('SRID=4674;POINT (-40.367039982229 -2.8056192956865)'))) / (select extract(epoch from '2026-07-21 16:35:03'::timestamp) - extract(epoch from '2026-07-21 16:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367242824286 -2.8055911324918)'), GeomFromEWKT('SRID=4674;POINT (-40.367039982229 -2.8056192956865)'))) / (select extract(epoch from '2026-07-21 16:35:03'::timestamp) - extract(epoch from '2026-07-21 16:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.366878546774 -2.8056405857205)', '2026-07-21 16:35:12', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367039982229 -2.8056192956865)'), GeomFromEWKT('SRID=4674;POINT (-40.366878546774 -2.8056405857205)'))) / (select extract(epoch from '2026-07-21 16:35:12'::timestamp) - extract(epoch from '2026-07-21 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367039982229 -2.8056192956865)'), GeomFromEWKT('SRID=4674;POINT (-40.366878546774 -2.8056405857205)'))) / (select extract(epoch from '2026-07-21 16:35:12'::timestamp) - extract(epoch from '2026-07-21 16:35: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'), 47833, 'SRID=4674;POINT (-40.366687355563 -2.805655086413)', '2026-07-21 16:35:23', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366878546774 -2.8056405857205)'), GeomFromEWKT('SRID=4674;POINT (-40.366687355563 -2.805655086413)'))) / (select extract(epoch from '2026-07-21 16:35:23'::timestamp) - extract(epoch from '2026-07-21 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366878546774 -2.8056405857205)'), GeomFromEWKT('SRID=4674;POINT (-40.366687355563 -2.805655086413)'))) / (select extract(epoch from '2026-07-21 16:35:23'::timestamp) - extract(epoch from '2026-07-21 16:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.366566237062 -2.8056535776705)', '2026-07-21 16:35:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366687355563 -2.805655086413)'), GeomFromEWKT('SRID=4674;POINT (-40.366566237062 -2.8056535776705)'))) / (select extract(epoch from '2026-07-21 16:35:31'::timestamp) - extract(epoch from '2026-07-21 16:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366687355563 -2.805655086413)'), GeomFromEWKT('SRID=4674;POINT (-40.366566237062 -2.8056535776705)'))) / (select extract(epoch from '2026-07-21 16:35:31'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.366438999772 -2.8057024441659)', '2026-07-21 16:35:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366566237062 -2.8056535776705)'), GeomFromEWKT('SRID=4674;POINT (-40.366438999772 -2.8057024441659)'))) / (select extract(epoch from '2026-07-21 16:35:38'::timestamp) - extract(epoch from '2026-07-21 16:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366566237062 -2.8056535776705)'), GeomFromEWKT('SRID=4674;POINT (-40.366438999772 -2.8057024441659)'))) / (select extract(epoch from '2026-07-21 16:35:38'::timestamp) - extract(epoch from '2026-07-21 16:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.36633447744 -2.8057605307549)', '2026-07-21 16:35:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366438999772 -2.8057024441659)'), GeomFromEWKT('SRID=4674;POINT (-40.36633447744 -2.8057605307549)'))) / (select extract(epoch from '2026-07-21 16:35:45'::timestamp) - extract(epoch from '2026-07-21 16:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366438999772 -2.8057024441659)'), GeomFromEWKT('SRID=4674;POINT (-40.36633447744 -2.8057605307549)'))) / (select extract(epoch from '2026-07-21 16:35:45'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.366173628718 -2.8058026917279)', '2026-07-21 16:35:53', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36633447744 -2.8057605307549)'), GeomFromEWKT('SRID=4674;POINT (-40.366173628718 -2.8058026917279)'))) / (select extract(epoch from '2026-07-21 16:35:53'::timestamp) - extract(epoch from '2026-07-21 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36633447744 -2.8057605307549)'), GeomFromEWKT('SRID=4674;POINT (-40.366173628718 -2.8058026917279)'))) / (select extract(epoch from '2026-07-21 16:35:53'::timestamp) - extract(epoch from '2026-07-21 16:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.366003895178 -2.80582934618)', '2026-07-21 16:36:01', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366173628718 -2.8058026917279)'), GeomFromEWKT('SRID=4674;POINT (-40.366003895178 -2.80582934618)'))) / (select extract(epoch from '2026-07-21 16:36:01'::timestamp) - extract(epoch from '2026-07-21 16:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366173628718 -2.8058026917279)'), GeomFromEWKT('SRID=4674;POINT (-40.366003895178 -2.80582934618)'))) / (select extract(epoch from '2026-07-21 16:36:01'::timestamp) - extract(epoch from '2026-07-21 16:35: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'), 47833, 'SRID=4674;POINT (-40.365865426138 -2.8058372251689)', '2026-07-21 16:36:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366003895178 -2.80582934618)'), GeomFromEWKT('SRID=4674;POINT (-40.365865426138 -2.8058372251689)'))) / (select extract(epoch from '2026-07-21 16:36:08'::timestamp) - extract(epoch from '2026-07-21 16:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366003895178 -2.80582934618)'), GeomFromEWKT('SRID=4674;POINT (-40.365865426138 -2.8058372251689)'))) / (select extract(epoch from '2026-07-21 16:36:08'::timestamp) - extract(epoch from '2026-07-21 16:36: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'), 47833, 'SRID=4674;POINT (-40.365718826652 -2.8058600239456)', '2026-07-21 16:36:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365865426138 -2.8058372251689)'), GeomFromEWKT('SRID=4674;POINT (-40.365718826652 -2.8058600239456)'))) / (select extract(epoch from '2026-07-21 16:36:16'::timestamp) - extract(epoch from '2026-07-21 16:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365865426138 -2.8058372251689)'), GeomFromEWKT('SRID=4674;POINT (-40.365718826652 -2.8058600239456)'))) / (select extract(epoch from '2026-07-21 16:36:16'::timestamp) - extract(epoch from '2026-07-21 16:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.365586895496 -2.8058714233339)', '2026-07-21 16:36:23', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365718826652 -2.8058600239456)'), GeomFromEWKT('SRID=4674;POINT (-40.365586895496 -2.8058714233339)'))) / (select extract(epoch from '2026-07-21 16:36:23'::timestamp) - extract(epoch from '2026-07-21 16:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365718826652 -2.8058600239456)'), GeomFromEWKT('SRID=4674;POINT (-40.365586895496 -2.8058714233339)'))) / (select extract(epoch from '2026-07-21 16:36:23'::timestamp) - extract(epoch from '2026-07-21 16:36: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'), 47833, 'SRID=4674;POINT (-40.365434763953 -2.805874440819)', '2026-07-21 16:36:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365586895496 -2.8058714233339)'), GeomFromEWKT('SRID=4674;POINT (-40.365434763953 -2.805874440819)'))) / (select extract(epoch from '2026-07-21 16:36:30'::timestamp) - extract(epoch from '2026-07-21 16:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365586895496 -2.8058714233339)'), GeomFromEWKT('SRID=4674;POINT (-40.365434763953 -2.805874440819)'))) / (select extract(epoch from '2026-07-21 16:36:30'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.365241561085 -2.8058904502541)', '2026-07-21 16:36:39', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365434763953 -2.805874440819)'), GeomFromEWKT('SRID=4674;POINT (-40.365241561085 -2.8058904502541)'))) / (select extract(epoch from '2026-07-21 16:36:39'::timestamp) - extract(epoch from '2026-07-21 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365434763953 -2.805874440819)'), GeomFromEWKT('SRID=4674;POINT (-40.365241561085 -2.8058904502541)'))) / (select extract(epoch from '2026-07-21 16:36:39'::timestamp) - extract(epoch from '2026-07-21 16:36: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'), 47833, 'SRID=4674;POINT (-40.365087585524 -2.8059216309339)', '2026-07-21 16:36:46', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365241561085 -2.8058904502541)'), GeomFromEWKT('SRID=4674;POINT (-40.365087585524 -2.8059216309339)'))) / (select extract(epoch from '2026-07-21 16:36:46'::timestamp) - extract(epoch from '2026-07-21 16:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365241561085 -2.8058904502541)'), GeomFromEWKT('SRID=4674;POINT (-40.365087585524 -2.8059216309339)'))) / (select extract(epoch from '2026-07-21 16:36:46'::timestamp) - extract(epoch from '2026-07-21 16:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.364926988259 -2.8059473633766)', '2026-07-21 16:36:54', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365087585524 -2.8059216309339)'), GeomFromEWKT('SRID=4674;POINT (-40.364926988259 -2.8059473633766)'))) / (select extract(epoch from '2026-07-21 16:36:54'::timestamp) - extract(epoch from '2026-07-21 16:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365087585524 -2.8059216309339)'), GeomFromEWKT('SRID=4674;POINT (-40.364926988259 -2.8059473633766)'))) / (select extract(epoch from '2026-07-21 16:36:54'::timestamp) - extract(epoch from '2026-07-21 16:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.36477368325 -2.8059730958194)', '2026-07-21 16:37:01', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364926988259 -2.8059473633766)'), GeomFromEWKT('SRID=4674;POINT (-40.36477368325 -2.8059730958194)'))) / (select extract(epoch from '2026-07-21 16:37:01'::timestamp) - extract(epoch from '2026-07-21 16:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364926988259 -2.8059473633766)'), GeomFromEWKT('SRID=4674;POINT (-40.36477368325 -2.8059730958194)'))) / (select extract(epoch from '2026-07-21 16:37:01'::timestamp) - extract(epoch from '2026-07-21 16:36: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'), 47833, 'SRID=4674;POINT (-40.364631358534 -2.8060040250421)', '2026-07-21 16:37:08', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36477368325 -2.8059730958194)'), GeomFromEWKT('SRID=4674;POINT (-40.364631358534 -2.8060040250421)'))) / (select extract(epoch from '2026-07-21 16:37:08'::timestamp) - extract(epoch from '2026-07-21 16:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36477368325 -2.8059730958194)'), GeomFromEWKT('SRID=4674;POINT (-40.364631358534 -2.8060040250421)'))) / (select extract(epoch from '2026-07-21 16:37:08'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47833, 'SRID=4674;POINT (-40.364512754604 -2.8060282487422)', '2026-07-21 16:37:15', 11.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364631358534 -2.8060040250421)'), GeomFromEWKT('SRID=4674;POINT (-40.364512754604 -2.8060282487422)'))) / (select extract(epoch from '2026-07-21 16:37:15'::timestamp) - extract(epoch from '2026-07-21 16:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364631358534 -2.8060040250421)'), GeomFromEWKT('SRID=4674;POINT (-40.364512754604 -2.8060282487422)'))) / (select extract(epoch from '2026-07-21 16:37:15'::timestamp) - extract(epoch from '2026-07-21 16:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.364335728809 -2.8060419950634)', '2026-07-21 16:37:23', 12.400024414062, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364512754604 -2.8060282487422)'), GeomFromEWKT('SRID=4674;POINT (-40.364335728809 -2.8060419950634)'))) / (select extract(epoch from '2026-07-21 16:37:23'::timestamp) - extract(epoch from '2026-07-21 16:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364512754604 -2.8060282487422)'), GeomFromEWKT('SRID=4674;POINT (-40.364335728809 -2.8060419950634)'))) / (select extract(epoch from '2026-07-21 16:37:23'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47833, 'SRID=4674;POINT (-40.364176640287 -2.8060466889292)', '2026-07-21 16:37:30', 12.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364335728809 -2.8060419950634)'), GeomFromEWKT('SRID=4674;POINT (-40.364176640287 -2.8060466889292)'))) / (select extract(epoch from '2026-07-21 16:37:30'::timestamp) - extract(epoch from '2026-07-21 16:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364335728809 -2.8060419950634)'), GeomFromEWKT('SRID=4674;POINT (-40.364176640287 -2.8060466889292)'))) / (select extract(epoch from '2026-07-21 16:37:30'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47833, 'SRID=4674;POINT (-40.3639313858 -2.8060723375529)', '2026-07-21 16:37:42', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364176640287 -2.8060466889292)'), GeomFromEWKT('SRID=4674;POINT (-40.3639313858 -2.8060723375529)'))) / (select extract(epoch from '2026-07-21 16:37:42'::timestamp) - extract(epoch from '2026-07-21 16:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364176640287 -2.8060466889292)'), GeomFromEWKT('SRID=4674;POINT (-40.3639313858 -2.8060723375529)'))) / (select extract(epoch from '2026-07-21 16:37:42'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.363713791594 -2.8061020933092)', '2026-07-21 16:37:52', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3639313858 -2.8060723375529)'), GeomFromEWKT('SRID=4674;POINT (-40.363713791594 -2.8061020933092)'))) / (select extract(epoch from '2026-07-21 16:37:52'::timestamp) - extract(epoch from '2026-07-21 16:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3639313858 -2.8060723375529)'), GeomFromEWKT('SRID=4674;POINT (-40.363713791594 -2.8061020933092)'))) / (select extract(epoch from '2026-07-21 16:37:52'::timestamp) - extract(epoch from '2026-07-21 16:37: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'), 47833, 'SRID=4674;POINT (-40.363573394716 -2.8061372973025)', '2026-07-21 16:37:58', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713791594 -2.8061020933092)'), GeomFromEWKT('SRID=4674;POINT (-40.363573394716 -2.8061372973025)'))) / (select extract(epoch from '2026-07-21 16:37:58'::timestamp) - extract(epoch from '2026-07-21 16:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363713791594 -2.8061020933092)'), GeomFromEWKT('SRID=4674;POINT (-40.363573394716 -2.8061372973025)'))) / (select extract(epoch from '2026-07-21 16:37:58'::timestamp) - extract(epoch from '2026-07-21 16:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.363409277052 -2.806162526831)', '2026-07-21 16:38:06', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363573394716 -2.8061372973025)'), GeomFromEWKT('SRID=4674;POINT (-40.363409277052 -2.806162526831)'))) / (select extract(epoch from '2026-07-21 16:38:06'::timestamp) - extract(epoch from '2026-07-21 16:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363573394716 -2.8061372973025)'), GeomFromEWKT('SRID=4674;POINT (-40.363409277052 -2.806162526831)'))) / (select extract(epoch from '2026-07-21 16:38:06'::timestamp) - extract(epoch from '2026-07-21 16:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.363245327026 -2.8061812184751)', '2026-07-21 16:38:15', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363409277052 -2.806162526831)'), GeomFromEWKT('SRID=4674;POINT (-40.363245327026 -2.8061812184751)'))) / (select extract(epoch from '2026-07-21 16:38:15'::timestamp) - extract(epoch from '2026-07-21 16:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363409277052 -2.806162526831)'), GeomFromEWKT('SRID=4674;POINT (-40.363245327026 -2.8061812184751)'))) / (select extract(epoch from '2026-07-21 16:38:15'::timestamp) - extract(epoch from '2026-07-21 16:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.363110294566 -2.8062111418694)', '2026-07-21 16:38:22', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363245327026 -2.8061812184751)'), GeomFromEWKT('SRID=4674;POINT (-40.363110294566 -2.8062111418694)'))) / (select extract(epoch from '2026-07-21 16:38:22'::timestamp) - extract(epoch from '2026-07-21 16:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363245327026 -2.8061812184751)'), GeomFromEWKT('SRID=4674;POINT (-40.363110294566 -2.8062111418694)'))) / (select extract(epoch from '2026-07-21 16:38:22'::timestamp) - extract(epoch from '2026-07-21 16:38: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'), 47833, 'SRID=4674;POINT (-40.362964030355 -2.806254895404)', '2026-07-21 16:38:28', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363110294566 -2.8062111418694)'), GeomFromEWKT('SRID=4674;POINT (-40.362964030355 -2.806254895404)'))) / (select extract(epoch from '2026-07-21 16:38:28'::timestamp) - extract(epoch from '2026-07-21 16:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363110294566 -2.8062111418694)'), GeomFromEWKT('SRID=4674;POINT (-40.362964030355 -2.806254895404)'))) / (select extract(epoch from '2026-07-21 16:38:28'::timestamp) - extract(epoch from '2026-07-21 16:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.362828159705 -2.8063425701112)', '2026-07-21 16:38:35', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362964030355 -2.806254895404)'), GeomFromEWKT('SRID=4674;POINT (-40.362828159705 -2.8063425701112)'))) / (select extract(epoch from '2026-07-21 16:38:35'::timestamp) - extract(epoch from '2026-07-21 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362964030355 -2.806254895404)'), GeomFromEWKT('SRID=4674;POINT (-40.362828159705 -2.8063425701112)'))) / (select extract(epoch from '2026-07-21 16:38:35'::timestamp) - extract(epoch from '2026-07-21 16:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.362679380924 -2.8064499422908)', '2026-07-21 16:38:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362828159705 -2.8063425701112)'), GeomFromEWKT('SRID=4674;POINT (-40.362679380924 -2.8064499422908)'))) / (select extract(epoch from '2026-07-21 16:38:43'::timestamp) - extract(epoch from '2026-07-21 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362828159705 -2.8063425701112)'), GeomFromEWKT('SRID=4674;POINT (-40.362679380924 -2.8064499422908)'))) / (select extract(epoch from '2026-07-21 16:38:43'::timestamp) - extract(epoch from '2026-07-21 16:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.362482741475 -2.8065405506641)', '2026-07-21 16:38:52', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362679380924 -2.8064499422908)'), GeomFromEWKT('SRID=4674;POINT (-40.362482741475 -2.8065405506641)'))) / (select extract(epoch from '2026-07-21 16:38:52'::timestamp) - extract(epoch from '2026-07-21 16:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362679380924 -2.8064499422908)'), GeomFromEWKT('SRID=4674;POINT (-40.362482741475 -2.8065405506641)'))) / (select extract(epoch from '2026-07-21 16:38:52'::timestamp) - extract(epoch from '2026-07-21 16:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.362326167524 -2.806627638638)', '2026-07-21 16:39:01', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362482741475 -2.8065405506641)'), GeomFromEWKT('SRID=4674;POINT (-40.362326167524 -2.806627638638)'))) / (select extract(epoch from '2026-07-21 16:39:01'::timestamp) - extract(epoch from '2026-07-21 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362482741475 -2.8065405506641)'), GeomFromEWKT('SRID=4674;POINT (-40.362326167524 -2.806627638638)'))) / (select extract(epoch from '2026-07-21 16:39:01'::timestamp) - extract(epoch from '2026-07-21 16:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.362199433148 -2.8066664468497)', '2026-07-21 16:39:07', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362326167524 -2.806627638638)'), GeomFromEWKT('SRID=4674;POINT (-40.362199433148 -2.8066664468497)'))) / (select extract(epoch from '2026-07-21 16:39:07'::timestamp) - extract(epoch from '2026-07-21 16:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362326167524 -2.806627638638)'), GeomFromEWKT('SRID=4674;POINT (-40.362199433148 -2.8066664468497)'))) / (select extract(epoch from '2026-07-21 16:39:07'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.362053923309 -2.806770382449)', '2026-07-21 16:39:15', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362199433148 -2.8066664468497)'), GeomFromEWKT('SRID=4674;POINT (-40.362053923309 -2.806770382449)'))) / (select extract(epoch from '2026-07-21 16:39:15'::timestamp) - extract(epoch from '2026-07-21 16:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362199433148 -2.8066664468497)'), GeomFromEWKT('SRID=4674;POINT (-40.362053923309 -2.806770382449)'))) / (select extract(epoch from '2026-07-21 16:39:15'::timestamp) - extract(epoch from '2026-07-21 16:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.361916963011 -2.8068804368377)', '2026-07-21 16:39:23', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362053923309 -2.806770382449)'), GeomFromEWKT('SRID=4674;POINT (-40.361916963011 -2.8068804368377)'))) / (select extract(epoch from '2026-07-21 16:39:23'::timestamp) - extract(epoch from '2026-07-21 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362053923309 -2.806770382449)'), GeomFromEWKT('SRID=4674;POINT (-40.361916963011 -2.8068804368377)'))) / (select extract(epoch from '2026-07-21 16:39:23'::timestamp) - extract(epoch from '2026-07-21 16:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.361794419587 -2.8069409541786)', '2026-07-21 16:39:30', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361916963011 -2.8068804368377)'), GeomFromEWKT('SRID=4674;POINT (-40.361794419587 -2.8069409541786)'))) / (select extract(epoch from '2026-07-21 16:39:30'::timestamp) - extract(epoch from '2026-07-21 16:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361916963011 -2.8068804368377)'), GeomFromEWKT('SRID=4674;POINT (-40.361794419587 -2.8069409541786)'))) / (select extract(epoch from '2026-07-21 16:39:30'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.361648155376 -2.8069819416851)', '2026-07-21 16:39:37', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361794419587 -2.8069409541786)'), GeomFromEWKT('SRID=4674;POINT (-40.361648155376 -2.8069819416851)'))) / (select extract(epoch from '2026-07-21 16:39:37'::timestamp) - extract(epoch from '2026-07-21 16:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361794419587 -2.8069409541786)'), GeomFromEWKT('SRID=4674;POINT (-40.361648155376 -2.8069819416851)'))) / (select extract(epoch from '2026-07-21 16:39:37'::timestamp) - extract(epoch from '2026-07-21 16:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.36150842905 -2.8070335742086)', '2026-07-21 16:39:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361648155376 -2.8069819416851)'), GeomFromEWKT('SRID=4674;POINT (-40.36150842905 -2.8070335742086)'))) / (select extract(epoch from '2026-07-21 16:39:44'::timestamp) - extract(epoch from '2026-07-21 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361648155376 -2.8069819416851)'), GeomFromEWKT('SRID=4674;POINT (-40.36150842905 -2.8070335742086)'))) / (select extract(epoch from '2026-07-21 16:39:44'::timestamp) - extract(epoch from '2026-07-21 16:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.361452018842 -2.8071328997612)', '2026-07-21 16:39:49', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36150842905 -2.8070335742086)'), GeomFromEWKT('SRID=4674;POINT (-40.361452018842 -2.8071328997612)'))) / (select extract(epoch from '2026-07-21 16:39:49'::timestamp) - extract(epoch from '2026-07-21 16:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36150842905 -2.8070335742086)'), GeomFromEWKT('SRID=4674;POINT (-40.361452018842 -2.8071328997612)'))) / (select extract(epoch from '2026-07-21 16:39:49'::timestamp) - extract(epoch from '2026-07-21 16:39: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'), 47833, 'SRID=4674;POINT (-40.361374653876 -2.8072881326079)', '2026-07-21 16:39:56', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361452018842 -2.8071328997612)'), GeomFromEWKT('SRID=4674;POINT (-40.361374653876 -2.8072881326079)'))) / (select extract(epoch from '2026-07-21 16:39:56'::timestamp) - extract(epoch from '2026-07-21 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361452018842 -2.8071328997612)'), GeomFromEWKT('SRID=4674;POINT (-40.361374653876 -2.8072881326079)'))) / (select extract(epoch from '2026-07-21 16:39:56'::timestamp) - extract(epoch from '2026-07-21 16:39: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'), 47833, 'SRID=4674;POINT (-40.361237693578 -2.8074465505779)', '2026-07-21 16:40:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361374653876 -2.8072881326079)'), GeomFromEWKT('SRID=4674;POINT (-40.361237693578 -2.8074465505779)'))) / (select extract(epoch from '2026-07-21 16:40:05'::timestamp) - extract(epoch from '2026-07-21 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361374653876 -2.8072881326079)'), GeomFromEWKT('SRID=4674;POINT (-40.361237693578 -2.8074465505779)'))) / (select extract(epoch from '2026-07-21 16:40:05'::timestamp) - extract(epoch from '2026-07-21 16:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.361120179296 -2.8075042180717)', '2026-07-21 16:40:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361237693578 -2.8074465505779)'), GeomFromEWKT('SRID=4674;POINT (-40.361120179296 -2.8075042180717)'))) / (select extract(epoch from '2026-07-21 16:40:11'::timestamp) - extract(epoch from '2026-07-21 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361237693578 -2.8074465505779)'), GeomFromEWKT('SRID=4674;POINT (-40.361120179296 -2.8075042180717)'))) / (select extract(epoch from '2026-07-21 16:40:11'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47833, 'SRID=4674;POINT (-40.360965533182 -2.8075565211475)', '2026-07-21 16:40:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361120179296 -2.8075042180717)'), GeomFromEWKT('SRID=4674;POINT (-40.360965533182 -2.8075565211475)'))) / (select extract(epoch from '2026-07-21 16:40:18'::timestamp) - extract(epoch from '2026-07-21 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361120179296 -2.8075042180717)'), GeomFromEWKT('SRID=4674;POINT (-40.360965533182 -2.8075565211475)'))) / (select extract(epoch from '2026-07-21 16:40:18'::timestamp) - extract(epoch from '2026-07-21 16:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.360847348347 -2.807581750676)', '2026-07-21 16:40:24', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360965533182 -2.8075565211475)'), GeomFromEWKT('SRID=4674;POINT (-40.360847348347 -2.807581750676)'))) / (select extract(epoch from '2026-07-21 16:40:24'::timestamp) - extract(epoch from '2026-07-21 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360965533182 -2.8075565211475)'), GeomFromEWKT('SRID=4674;POINT (-40.360847348347 -2.807581750676)'))) / (select extract(epoch from '2026-07-21 16:40:24'::timestamp) - extract(epoch from '2026-07-21 16:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.360720781609 -2.8076516557485)', '2026-07-21 16:40:31', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360847348347 -2.807581750676)'), GeomFromEWKT('SRID=4674;POINT (-40.360720781609 -2.8076516557485)'))) / (select extract(epoch from '2026-07-21 16:40:31'::timestamp) - extract(epoch from '2026-07-21 16:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360847348347 -2.807581750676)'), GeomFromEWKT('SRID=4674;POINT (-40.360720781609 -2.8076516557485)'))) / (select extract(epoch from '2026-07-21 16:40:31'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47833, 'SRID=4674;POINT (-40.360584072769 -2.8077193815261)', '2026-07-21 16:40:38', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360720781609 -2.8076516557485)'), GeomFromEWKT('SRID=4674;POINT (-40.360584072769 -2.8077193815261)'))) / (select extract(epoch from '2026-07-21 16:40:38'::timestamp) - extract(epoch from '2026-07-21 16:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360720781609 -2.8076516557485)'), GeomFromEWKT('SRID=4674;POINT (-40.360584072769 -2.8077193815261)'))) / (select extract(epoch from '2026-07-21 16:40:38'::timestamp) - extract(epoch from '2026-07-21 16: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'), 47833, 'SRID=4674;POINT (-40.360438143834 -2.8077643923461)', '2026-07-21 16:40:45', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360584072769 -2.8077193815261)'), GeomFromEWKT('SRID=4674;POINT (-40.360438143834 -2.8077643923461)'))) / (select extract(epoch from '2026-07-21 16:40:45'::timestamp) - extract(epoch from '2026-07-21 16:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360584072769 -2.8077193815261)'), GeomFromEWKT('SRID=4674;POINT (-40.360438143834 -2.8077643923461)'))) / (select extract(epoch from '2026-07-21 16:40:45'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47833, 'SRID=4674;POINT (-40.360299758613 -2.8077891189605)', '2026-07-21 16:40:52', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360438143834 -2.8077643923461)'), GeomFromEWKT('SRID=4674;POINT (-40.360299758613 -2.8077891189605)'))) / (select extract(epoch from '2026-07-21 16:40:52'::timestamp) - extract(epoch from '2026-07-21 16:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360438143834 -2.8077643923461)'), GeomFromEWKT('SRID=4674;POINT (-40.360299758613 -2.8077891189605)'))) / (select extract(epoch from '2026-07-21 16:40:52'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47833, 'SRID=4674;POINT (-40.360130444169 -2.8078449424356)', '2026-07-21 16:41:01', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360299758613 -2.8077891189605)'), GeomFromEWKT('SRID=4674;POINT (-40.360130444169 -2.8078449424356)'))) / (select extract(epoch from '2026-07-21 16:41:01'::timestamp) - extract(epoch from '2026-07-21 16:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360299758613 -2.8077891189605)'), GeomFromEWKT('SRID=4674;POINT (-40.360130444169 -2.8078449424356)'))) / (select extract(epoch from '2026-07-21 16:41:01'::timestamp) - extract(epoch from '2026-07-21 16:40: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'), 47833, 'SRID=4674;POINT (-40.359958279878 -2.8078480437398)', '2026-07-21 16:41:08', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360130444169 -2.8078449424356)'), GeomFromEWKT('SRID=4674;POINT (-40.359958279878 -2.8078480437398)'))) / (select extract(epoch from '2026-07-21 16:41:08'::timestamp) - extract(epoch from '2026-07-21 16:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360130444169 -2.8078449424356)'), GeomFromEWKT('SRID=4674;POINT (-40.359958279878 -2.8078480437398)'))) / (select extract(epoch from '2026-07-21 16:41:08'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.359826767817 -2.8078533243388)', '2026-07-21 16:41:14', 9.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359958279878 -2.8078480437398)'), GeomFromEWKT('SRID=4674;POINT (-40.359826767817 -2.8078533243388)'))) / (select extract(epoch from '2026-07-21 16:41:14'::timestamp) - extract(epoch from '2026-07-21 16:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359958279878 -2.8078480437398)'), GeomFromEWKT('SRID=4674;POINT (-40.359826767817 -2.8078533243388)'))) / (select extract(epoch from '2026-07-21 16:41:14'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.359668182209 -2.8078517317772)', '2026-07-21 16:41:22', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359826767817 -2.8078533243388)'), GeomFromEWKT('SRID=4674;POINT (-40.359668182209 -2.8078517317772)'))) / (select extract(epoch from '2026-07-21 16:41:22'::timestamp) - extract(epoch from '2026-07-21 16:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359826767817 -2.8078533243388)'), GeomFromEWKT('SRID=4674;POINT (-40.359668182209 -2.8078517317772)'))) / (select extract(epoch from '2026-07-21 16:41:22'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.359501382336 -2.8078395780176)', '2026-07-21 16:41:29', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359668182209 -2.8078517317772)'), GeomFromEWKT('SRID=4674;POINT (-40.359501382336 -2.8078395780176)'))) / (select extract(epoch from '2026-07-21 16:41:29'::timestamp) - extract(epoch from '2026-07-21 16:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359668182209 -2.8078517317772)'), GeomFromEWKT('SRID=4674;POINT (-40.359501382336 -2.8078395780176)'))) / (select extract(epoch from '2026-07-21 16:41:29'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.359323099256 -2.8078361414373)', '2026-07-21 16:41:37', 9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359501382336 -2.8078395780176)'), GeomFromEWKT('SRID=4674;POINT (-40.359323099256 -2.8078361414373)'))) / (select extract(epoch from '2026-07-21 16:41:37'::timestamp) - extract(epoch from '2026-07-21 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359501382336 -2.8078395780176)'), GeomFromEWKT('SRID=4674;POINT (-40.359323099256 -2.8078361414373)'))) / (select extract(epoch from '2026-07-21 16:41:37'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.359192257747 -2.8077760431916)', '2026-07-21 16:41:44', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359323099256 -2.8078361414373)'), GeomFromEWKT('SRID=4674;POINT (-40.359192257747 -2.8077760431916)'))) / (select extract(epoch from '2026-07-21 16:41:44'::timestamp) - extract(epoch from '2026-07-21 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359323099256 -2.8078361414373)'), GeomFromEWKT('SRID=4674;POINT (-40.359192257747 -2.8077760431916)'))) / (select extract(epoch from '2026-07-21 16:41:44'::timestamp) - extract(epoch from '2026-07-21 16:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.35903534852 -2.8077145200223)', '2026-07-21 16:41:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359192257747 -2.8077760431916)'), GeomFromEWKT('SRID=4674;POINT (-40.35903534852 -2.8077145200223)'))) / (select extract(epoch from '2026-07-21 16:41:52'::timestamp) - extract(epoch from '2026-07-21 16:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359192257747 -2.8077760431916)'), GeomFromEWKT('SRID=4674;POINT (-40.35903534852 -2.8077145200223)'))) / (select extract(epoch from '2026-07-21 16:41:52'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.358894951642 -2.8076334670186)', '2026-07-21 16:42:00', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35903534852 -2.8077145200223)'), GeomFromEWKT('SRID=4674;POINT (-40.358894951642 -2.8076334670186)'))) / (select extract(epoch from '2026-07-21 16:42:00'::timestamp) - extract(epoch from '2026-07-21 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35903534852 -2.8077145200223)'), GeomFromEWKT('SRID=4674;POINT (-40.358894951642 -2.8076334670186)'))) / (select extract(epoch from '2026-07-21 16:42:00'::timestamp) - extract(epoch from '2026-07-21 16:41: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'), 47833, 'SRID=4674;POINT (-40.358717925847 -2.8075863607228)', '2026-07-21 16:42:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358894951642 -2.8076334670186)'), GeomFromEWKT('SRID=4674;POINT (-40.358717925847 -2.8075863607228)'))) / (select extract(epoch from '2026-07-21 16:42:08'::timestamp) - extract(epoch from '2026-07-21 16:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358894951642 -2.8076334670186)'), GeomFromEWKT('SRID=4674;POINT (-40.358717925847 -2.8075863607228)'))) / (select extract(epoch from '2026-07-21 16:42:08'::timestamp) - extract(epoch from '2026-07-21 16:42: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'), 47833, 'SRID=4674;POINT (-40.358578367159 -2.8075437806547)', '2026-07-21 16:42:15', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358717925847 -2.8075863607228)'), GeomFromEWKT('SRID=4674;POINT (-40.358578367159 -2.8075437806547)'))) / (select extract(epoch from '2026-07-21 16:42:15'::timestamp) - extract(epoch from '2026-07-21 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358717925847 -2.8075863607228)'), GeomFromEWKT('SRID=4674;POINT (-40.358578367159 -2.8075437806547)'))) / (select extract(epoch from '2026-07-21 16:42:15'::timestamp) - extract(epoch from '2026-07-21 16:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358499577269 -2.8075663279742)', '2026-07-21 16:42:21', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358578367159 -2.8075437806547)'), GeomFromEWKT('SRID=4674;POINT (-40.358499577269 -2.8075663279742)'))) / (select extract(epoch from '2026-07-21 16:42:21'::timestamp) - extract(epoch from '2026-07-21 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358578367159 -2.8075437806547)'), GeomFromEWKT('SRID=4674;POINT (-40.358499577269 -2.8075663279742)'))) / (select extract(epoch from '2026-07-21 16:42:21'::timestamp) - extract(epoch from '2026-07-21 16:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358467390761 -2.8076493926346)', '2026-07-21 16:42:27', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358499577269 -2.8075663279742)'), GeomFromEWKT('SRID=4674;POINT (-40.358467390761 -2.8076493926346)'))) / (select extract(epoch from '2026-07-21 16:42:27'::timestamp) - extract(epoch from '2026-07-21 16:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358499577269 -2.8075663279742)'), GeomFromEWKT('SRID=4674;POINT (-40.358467390761 -2.8076493926346)'))) / (select extract(epoch from '2026-07-21 16:42:27'::timestamp) - extract(epoch from '2026-07-21 16:42: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'), 47833, 'SRID=4674;POINT (-40.358381392434 -2.8076916374266)', '2026-07-21 16:42:33', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358467390761 -2.8076493926346)'), GeomFromEWKT('SRID=4674;POINT (-40.358381392434 -2.8076916374266)'))) / (select extract(epoch from '2026-07-21 16:42:33'::timestamp) - extract(epoch from '2026-07-21 16:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358467390761 -2.8076493926346)'), GeomFromEWKT('SRID=4674;POINT (-40.358381392434 -2.8076916374266)'))) / (select extract(epoch from '2026-07-21 16:42:33'::timestamp) - extract(epoch from '2026-07-21 16:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358303524554 -2.8076988458633)', '2026-07-21 16:42:39', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358381392434 -2.8076916374266)'), GeomFromEWKT('SRID=4674;POINT (-40.358303524554 -2.8076988458633)'))) / (select extract(epoch from '2026-07-21 16:42:39'::timestamp) - extract(epoch from '2026-07-21 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358381392434 -2.8076916374266)'), GeomFromEWKT('SRID=4674;POINT (-40.358303524554 -2.8076988458633)'))) / (select extract(epoch from '2026-07-21 16:42:39'::timestamp) - extract(epoch from '2026-07-21 16:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358298160136 -2.8077046293765)', '2026-07-21 16:42:45', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358303524554 -2.8076988458633)'), GeomFromEWKT('SRID=4674;POINT (-40.358298160136 -2.8077046293765)'))) / (select extract(epoch from '2026-07-21 16:42:45'::timestamp) - extract(epoch from '2026-07-21 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358303524554 -2.8076988458633)'), GeomFromEWKT('SRID=4674;POINT (-40.358298160136 -2.8077046293765)'))) / (select extract(epoch from '2026-07-21 16:42:45'::timestamp) - extract(epoch from '2026-07-21 16:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358293047175 -2.8077180404216)', '2026-07-21 16:42:53', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358298160136 -2.8077046293765)'), GeomFromEWKT('SRID=4674;POINT (-40.358293047175 -2.8077180404216)'))) / (select extract(epoch from '2026-07-21 16:42:53'::timestamp) - extract(epoch from '2026-07-21 16:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358298160136 -2.8077046293765)'), GeomFromEWKT('SRID=4674;POINT (-40.358293047175 -2.8077180404216)'))) / (select extract(epoch from '2026-07-21 16:42:53'::timestamp) - extract(epoch from '2026-07-21 16:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358348367736 -2.8077769652009)', '2026-07-21 16:43:09', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358293047175 -2.8077180404216)'), GeomFromEWKT('SRID=4674;POINT (-40.358348367736 -2.8077769652009)'))) / (select extract(epoch from '2026-07-21 16:43:09'::timestamp) - extract(epoch from '2026-07-21 16:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358293047175 -2.8077180404216)'), GeomFromEWKT('SRID=4674;POINT (-40.358348367736 -2.8077769652009)'))) / (select extract(epoch from '2026-07-21 16:43:09'::timestamp) - extract(epoch from '2026-07-21 16:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.358355995268 -2.8077911306173)', '2026-07-21 16:43:23', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358348367736 -2.8077769652009)'), GeomFromEWKT('SRID=4674;POINT (-40.358355995268 -2.8077911306173)'))) / (select extract(epoch from '2026-07-21 16:43:23'::timestamp) - extract(epoch from '2026-07-21 16:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358348367736 -2.8077769652009)'), GeomFromEWKT('SRID=4674;POINT (-40.358355995268 -2.8077911306173)'))) / (select extract(epoch from '2026-07-21 16:43:23'::timestamp) - extract(epoch from '2026-07-21 16:43: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'), 47833, 'SRID=4674;POINT (-40.358440317214 -2.8078306932002)', '2026-07-21 16:43:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358355995268 -2.8077911306173)'), GeomFromEWKT('SRID=4674;POINT (-40.358440317214 -2.8078306932002)'))) / (select extract(epoch from '2026-07-21 16:43:53'::timestamp) - extract(epoch from '2026-07-21 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358355995268 -2.8077911306173)'), GeomFromEWKT('SRID=4674;POINT (-40.358440317214 -2.8078306932002)'))) / (select extract(epoch from '2026-07-21 16:43:53'::timestamp) - extract(epoch from '2026-07-21 16:43: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'), 47833, 'SRID=4674;POINT (-40.358519274741 -2.8078271728009)', '2026-07-21 16:44:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358440317214 -2.8078306932002)'), GeomFromEWKT('SRID=4674;POINT (-40.358519274741 -2.8078271728009)'))) / (select extract(epoch from '2026-07-21 16:44:09'::timestamp) - extract(epoch from '2026-07-21 16:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358440317214 -2.8078306932002)'), GeomFromEWKT('SRID=4674;POINT (-40.358519274741 -2.8078271728009)'))) / (select extract(epoch from '2026-07-21 16:44:09'::timestamp) - extract(epoch from '2026-07-21 16:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47833, 'SRID=4674;POINT (-40.35857568495 -2.8078463673592)', '2026-07-21 16:44:22', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358519274741 -2.8078271728009)'), GeomFromEWKT('SRID=4674;POINT (-40.35857568495 -2.8078463673592)'))) / (select extract(epoch from '2026-07-21 16:44:22'::timestamp) - extract(epoch from '2026-07-21 16:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358519274741 -2.8078271728009)'), GeomFromEWKT('SRID=4674;POINT (-40.35857568495 -2.8078463673592)'))) / (select extract(epoch from '2026-07-21 16:44:22'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47833, 'SRID=4674;POINT (-40.358641734347 -2.8078519832343)', '2026-07-21 16:44:37', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35857568495 -2.8078463673592)'), GeomFromEWKT('SRID=4674;POINT (-40.358641734347 -2.8078519832343)'))) / (select extract(epoch from '2026-07-21 16:44:37'::timestamp) - extract(epoch from '2026-07-21 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35857568495 -2.8078463673592)'), GeomFromEWKT('SRID=4674;POINT (-40.358641734347 -2.8078519832343)'))) / (select extract(epoch from '2026-07-21 16:44:37'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47833, 'SRID=4674;POINT (-40.358694037423 -2.8078530728817)', '2026-07-21 16:44:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358641734347 -2.8078519832343)'), GeomFromEWKT('SRID=4674;POINT (-40.358694037423 -2.8078530728817)'))) / (select extract(epoch from '2026-07-21 16:44:53'::timestamp) - extract(epoch from '2026-07-21 16:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358641734347 -2.8078519832343)'), GeomFromEWKT('SRID=4674;POINT (-40.358694037423 -2.8078530728817)'))) / (select extract(epoch from '2026-07-21 16:44:53'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47833, 'SRID=4674;POINT (-40.358709376305 -2.8078490495682)', '2026-07-21 16:48:07', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358694037423 -2.8078530728817)'), GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'))) / (select extract(epoch from '2026-07-21 16:48:07'::timestamp) - extract(epoch from '2026-07-21 16:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358694037423 -2.8078530728817)'), GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'))) / (select extract(epoch from '2026-07-21 16:48:07'::timestamp) - extract(epoch from '2026-07-21 16:44: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'), 47833, 'SRID=4674;POINT (-40.358709376305 -2.8078490495682)', '2026-07-21 16:53:05', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'), GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'))) / (select extract(epoch from '2026-07-21 16:53:05'::timestamp) - extract(epoch from '2026-07-21 16:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'), GeomFromEWKT('SRID=4674;POINT (-40.358709376305 -2.8078490495682)'))) / (select extract(epoch from '2026-07-21 16:53:05'::timestamp) - extract(epoch from '2026-07-21 16:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
