From Wikipedia: In computing, floating point describes a method of representing an approximation to real numbers in a way that can support a wide range of values. The numbers are, in general, represented approximately to a fixed number of significant digits (the mantissa) and scaled using an ...

learn more… | top users | synonyms

19
votes
2answers
410 views

Precision when working with spatial data in GIS

Is there a basic or introductory study that examines and compares the precision of spatial data when working with varying precison of the data input, like having 1, 2, ... decimal places? with the ...
7
votes
2answers
3k views

How to fully load a raster into a numpy array?

I have been trying to check my filters on DEM raster for pattern recognition and it is always resulting in missing last rows and columns(like..20). I have tried with PIL library, image load. Then with ...
7
votes
1answer
647 views

In ESRI ArcMap, how do I refer to NaN or ±∞ (special floating point values) in definition queries?

I have by chance discovered how ESRI ArcMap displays special floating point values to the user. +∞ (positive infinity) is displayed as 1.#INF –∞ (negative infinity) would supposedly be displayed as ...
5
votes
1answer
383 views

How can I snap lines in PostGIS?

I have a few linestrings that together form a long line. The start- and endpoints of the linestrings are equal with their direct neighbour, but when tested the ST_Distance between any 2 lines is like ...
2
votes
4answers
386 views

Floating point: understanding their inaccuracy [closed]

I am trying to understand why a floating point is inaccurate. Please bear in mind that I am not a mathematician. What is exactly the difference between floating point and double integers? and why use ...
2
votes
3answers
1k views

How can I reclassify a raster to floating point values?

I have a raster of landuse values that I need to reclassify into pollution concentration values. I have the pollution values in a separate table. They are decimal values (ex. 0.0056), and my landuse ...
1
vote
1answer
150 views

Raster Multiplication - Can't Multiply Sequence by Non-Int of Type “Float”

I am trying to multiply a list of GRID raster datasets using a different value for each raster. The value is in the raster name. Some examples are [wse_1979_5,wse_1980_0,wse_1980_5], where 1979_5, ...
1
vote
0answers
56 views

Why does GeoServer's GetFeature round my numbers, but only for outputFormat=CSV?

When I make a GetFeature request with outputFormat=CSV to my GeoServer v2.4.5 I'm finding that the floating point numbers in my returned data have been rounded. When I make the same request with ...
1
vote
1answer
103 views

Floating point calculations in QGIS

How do I manage floating point calculations in QGIS? I have carried out 3 consecutive calculations on landsat bands. I end up with 32 bit floating point rasters on which I can't carry out a 4th ...