convert positioned jpgs to jpgs+worldfile or hgr with batch convert

Hi.

I`m having a serious problem when converting raster files with the raster manager's "batch convert" tool.

 I´ve a number of .jpg images possitioned in the model space, the number varis betwen dgn files, is about 5 to 75 raster files per dgn.

 Once georeferenced,  I need to export them to .cot or preferably to .jpg with .hgr file.

 When saving each file individually;  doing file>save as> imagename.cot or imagename.jpg+hgr file, it exports the file correctly. In the case of the .cot, it adds the position, scale and rotation in the header an in the case of teh jpg writes correctly the hgr file.

 BUT, heres comes my problem, after a batch convert processing,  when importing back the generated files to the raster manager, they appear in an incorrect position, VERY far from where they should be.

Even stranger is the fact that some times it has worked during the testing process.  

 I'm getting crazy with this problem, and soon I'll get quite  in a hurry seeing drafters lose time saving files individually.

 Please, give me a hand with this.

 Bye.

 

Parents
  • Hi Paulov,

     Actually, "Batch Convert" and "Save As" work differently.  When saving each raster files separately with a "Save As", the input raster's position in the view is saved to the output raster if you choose to create an sister file (World File or HGR) or if the output raster format supports georeference (geotiff, itiff, img...)  The Batch Convert on the other hand works differently.  When it creates an output raster, it doesn't use the raster's position in the view, it uses the georeference that is saved to the raster on disk or in an associated sister file.  You can actually Batch Convert raster files that are not even attached to your design file.

     

    In your case, you are working with jpg files.  Those files do not support georeference unless they have an associated sister file, which doesn't seam to be your case.  So, even if you attach those jpg files and position them in a view, you will not be able to export them and save their position in an HGR using Batch Convert.

     

    Pascal


     This is a test

Reply
  • Hi Paulov,

     Actually, "Batch Convert" and "Save As" work differently.  When saving each raster files separately with a "Save As", the input raster's position in the view is saved to the output raster if you choose to create an sister file (World File or HGR) or if the output raster format supports georeference (geotiff, itiff, img...)  The Batch Convert on the other hand works differently.  When it creates an output raster, it doesn't use the raster's position in the view, it uses the georeference that is saved to the raster on disk or in an associated sister file.  You can actually Batch Convert raster files that are not even attached to your design file.

     

    In your case, you are working with jpg files.  Those files do not support georeference unless they have an associated sister file, which doesn't seam to be your case.  So, even if you attach those jpg files and position them in a view, you will not be able to export them and save their position in an HGR using Batch Convert.

     

    Pascal


     This is a test

Children
No Data