mapbox / minjur

Osmium-based converter of OSM data to GeoJSON
ISC License
59 stars 14 forks source link

Id property should be an integer #2

Closed aaronlidman closed 9 years ago

aaronlidman commented 9 years ago

The ids should be integers: "_osm_node_id": 3594461575.0

joto commented 9 years ago

We can't use Int(), because that would be a 32bit int. I wasn't sure how (Rapid)JSON handled 64bit ints, so I put the Double() in there. But I checked it now and RapidJSON has the Int64() function, so that should be fine.