Hi Ramiro,

You could edit the header values using the GDAL Python bindings so the pixel 
sizes are exactly 0.4 m or you can use another method to stack the files which 
doesn't require the pixel sizes to be exactly the same.

I would use gdalbuildvrt (http://www.gdal.org/gdalbuildvrt.html) to create a 
virtual raster stack and then gdal_translate to convert to KEA.

Hope this helps,

Dan

> On 23 Feb 2015, at 22:30, Ramiro Silveyra González <rasil...@gmail.com> wrote:
> 
> Hi,
> 
> I have processed some data with spdlib setting an output resolution of 0.4 m 
> (I set a bin size of 0.4)  and kea format.
> 
> Now I am trying to stack the output data to imagery with 0.4 resolution using 
> the rsgislib.
> 
> The rsgislib raises an error because resolution are not the same.
> I have checked the resolution of spdlib processed data and instead of 0.4, it 
> is 
> 0.400000005960464.
> 
> Is there a way to keep the resolution to  0.4 with SPDlib?
> 
> Thanks,
> 
> Ramiro
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> spdlib-develop mailing list
> spdlib-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to