azavea / osmesa

OSMesa is an OpenStreetMap processing stack based on GeoTrellis and Apache Spark
Apache License 2.0
80 stars 26 forks source link

Replace BigDecimals with Doubles #115

Closed mojodna closed 5 years ago

mojodna commented 5 years ago

Doubles are equivalent for our purposes and work better with ExpressionEncoders (BigDecimals were being converted to null when serialized into Rows as part of #106). Spark JTS geometry constructions are happy with either, so this shouldn't affect anything.