[Gvsig_english] Importing a raster image with gvSIG Mobile

Marcel Schoolmeesters schoolmeesters at gmx.de
Tue Mar 29 21:00:45 CEST 2011


Hello,

I have tried to load a raster image (had to try jpg, because *.png did 
not even load), but I am getting a wrong position of the extent. Anybody 
got the same error?

I have tried the debug mode, but there are too many functions to catch 
on. Perhaps anybody can help?

Somewhere the map origin is changed from the upper edge to the lower 
edge, that far I could follow, but then the image extent (height) and 
the origin coords (of Y) has been changed. Why? it seems to be very hard 
to understand the whole way of building the image at the right place.

However, in attachment the original rectangle and the changed one are 
shown with their values while debugging...

The lower edge of the final image is positioned between those Y values 
(@ 53.464) but it needs to be positioned at 53.475....

what is getRasterTansformation() actually doing?


Thanks in advance, if anybody can help. However, that issue should be 
fixed, I think. The import of PNG is not even possible, as I mentioned 
before..

Regards

Marcel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WKFRasterDriver.getRasterTransformation.jpg
Type: image/jpeg
Size: 81234 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110329/627aeae9/attachment.jpg 


More information about the Gvsig_internacional mailing list