[mapserver-users] Raster Query Precision

Simpson drewsimpson at bellsouth.net
Sat Oct 24 13:04:47 EDT 2009


Greetings,

I performed a raster query and inserted results into a point vector.
The points appear to correlate to the raster pixel locations.
However, every four or five rows, a row is missing.

i.e.

xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx

I am performing the query using a mapscript queryByPoint.

I think it may be a precision/rounding issue, since the x and y returned
have at most two decimal positions.
Is there a way to ask for more precision?

Thanks,
Drew.



More information about the mapserver-users mailing list