Hi Dan,

thanks for you answer. I think I will go for gdal_edit.py
It is pretty simple and for 0.00000005960464 m  difference I do not think I
should worry much.


My biggest problem is that I cannot run any process on the tiles I created
time ago.
Apparently when I run spdtranslate on the merged tiles something goes wrong
with header information of the spd file,
because the next command I am applying fails to read the spd file and
returns the following errors:

Error: H5Dread failed
Error: The SPD major version header value was not provided.

I cannot figure out what goes wrong. Script, files and spdlib version are
fine.
Whatever the problem is, happens when translating the merged file.


Thanks,

Ramiro

2015-02-26 14:13 GMT+01:00 Daniel Clewley <daniel.clew...@gmail.com>:

> 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