You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the js implementation of geojson, the properties value of a Feature can be empty, but in the java implementation, an empty properties field is ignored:
// Empty properties -> should not appear in json string
When converting js version of geojson to the java version, the precision of coordinates has been reduced, i.e. from 102.227783203125 to 102.2277832. This issue was introduced in to improve performance: do not use BigDecimal for rounding #938 . It seems the precision is trimed due to performance consideration.
This issue is raised from PR #1075 .
geojson, thepropertiesvalue of aFeaturecan be empty, but in the java implementation, an empty properties field is ignored:mapbox-java/services-geojson/src/main/java/com/mapbox/geojson/Feature.java
Line 280 in 2130ea7
geojsonto the java version, the precision of coordinates has been reduced, i.e. from102.227783203125to102.2277832. This issue was introduced in to improve performance: do not use BigDecimal for rounding #938 . It seems the precision is trimed due to performance consideration.