Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 22
Registered: ‎04-04-2016

Modifying tif file which is opened in GeoMedia

I am developing a custom command, where the user loads a raster file into the map window and makes some input.
When the user is done some modifications are done to the raster, i.e. the tif file, and now I want to save it to the same filename.
The problem here is that the access to this file is blocked by GeoMedia.
Is there a way to make GeoMedia release the access to the tif file for a moment, so that I can save the changes, and afterwards reload it into GeoMedia?

I am grateful for any help!

Technical Evangelist
Posts: 528
Registered: ‎09-11-2015

Re: Modifying tif file which is opened in GeoMedia

Hi Cecilia,

 

perhaps deleting the image from the legend and closing the connection might release the file lock. But I am not sure,

 

Pavel

Highlighted
Contributor
Posts: 22
Registered: ‎04-04-2016

Re: Modifying tif file which is opened in GeoMedia

Hi Pavel,

 

unfortunately it does not seem to help. As soon as the image is loaded into the map window, GeoMedia locks it.

Do you have any other idea or workaround?

 

Best Cecilia

Technical Evangelist
Posts: 528
Registered: ‎09-11-2015

Re: Modifying tif file which is opened in GeoMedia

Hi Cecilia,

 

I have no other idea.

 

Pavel

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.