ewestern / haskell-postgis Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
This starts happening when building with unordered-containers
>= 0.2.16.0 since ordering returned from the library changed from 0.2.15. Just be possible to reproduce using cabal v2-test --constraint 'unordered-containers >= 0.2.16.0'
.
Running 1 test suites...
Test suite tests: RUNNING...
Geo
Hexable
should convert Endiannes to ByteString
should convert ByteString to Endianness
Should correctly parse a bytestring into a Point
Should parse a bytestring into a LineString
Should correctly write a Point into a bytestring
Should write a LineString into a bytestring
Encodes a linestring FAILED [1]
Failures:
tests/GeoSpec.hs:46:7:
1) Geo.Hexable Encodes a linestring
expected: "{\"coordinates\":[[-118.18710930120324,34.11608092875346],[-118.1870938785014,34.11611814440357],[-118.18702254850541,34.116310928176546],[-118.18697267618151,34.116445876817636],[-118.18691484104963,34.11651846409913]],\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"ESPG:4326\"}},\"type\":\"LineString\"}"
but got: "{\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"ESPG:4326\"}},\"type\":\"LineString\",\"coordinates\":[[-118.18710930120324,34.11608092875346],[-118.1870938785014,34.11611814440357],[-118.18702254850541,34.116310928176546],[-118.18697267618151,34.116445876817636],[-118.18691484104963,34.11651846409913]]}"
To rerun use: --match "/Geo/Hexable/Encodes a linestring/"
Randomized with seed 430495760
Finished in 0.0022 seconds
7 examples, 1 failure
Test suite tests: FAIL
Test suite logged to: dist/test/haskell-postgis-0.2.0-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
Any plans to make a hackage packages out of this? I'd be very interested.
Hello,
Are there any plans to license this code? I could have some use for the parser in a project I'm working on. This in turn could open up the opportunity to contribute back any adjustments that are needed.
Thanks,
Facundo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.