whosonfirst / go-whosonfirst-export

Go package for exporting Who's On First documents.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Differences with py-export/format tools #8

Open thisisaaronland opened 4 years ago

thisisaaronland commented 4 years ago

Noting this here for future attention. Some of these may be specific to go-whosonfirst-export:

I minified a wof document and then I played to Spot the difference between go and python exporter and here are what I found :

* No precision reduction on coordinates
* No use of utf-8 hexa codes
* Extra space after the colon
* 2 spaces instead of 4 for the indentation
* Sometime an extra space at the end of the line

https://github.com/whosonfirst/go-whosonfirst-export/issues/7#issuecomment-569871058

thisisaaronland commented 4 years ago

Related: https://github.com/tomtaylor/go-whosonfirst-format/issues/1