I'm sorry if this has been asked yet again. I browsed the
archived and could not find the answer.
I'm trying to run the Geometry libs tests suite to verify
an invalid? geometry I have. I added it as an additional
testcase (r34) but have failed to trigger the test suite. (I
have never before used JamFiles)
As a background note: I'm testing in boost because Mysql
5.7 is declaring this geometry as invalid, and it defers the
validation to the boost libs. I'm trying to track down what
is exactly wrong with the geometry.
I attach the geometry in question if anyone is curious.
You have to setup Boost (bootstrap + b2 headers) and then run b2
passing the directory containing tests e.g. go to libs/geometry
directory and run:
But I'm curious, why not prepare a simple test file loading WKT with
bg::read_wkt() and calling bg::is_valid() and run it by yourself
with choosen compiler?
I don't have anything setup for C++ so I though just minimally touching something that is working should serve my needs.
As it turns out I might need to get fancier. The main problem I have is that the MySQL 5.7 db complains that some Geometries are invalid and the MSSQL 2016 db goes along just fine. They are both supposed to be OGC complaint. So there is something very broken, or I'm breaking the geometries when reading them from the DB (I'm in a java shop and we are using JTS Topology by vividsolutions)
I need to write something that tells me where the Geometry is broken so i can attempt to fix it.