[Gvsig_english] Importing a raster image with gvSIG Mobile

Marcel Schoolmeesters schoolmeesters at gmx.de
Tue Mar 29 21:20:40 CEST 2011


well, I think the main problem of understanding is in function 
MapContext.*getExtentFromFullExtentAndImageSize*() ... I think the new 
height etc are calculated there?

Am 29.03.2011 21:00, schrieb Marcel Schoolmeesters:
> 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
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110329/6ae6b217/attachment.htm 


More information about the Gvsig_internacional mailing list