Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DbGeometry /DbGeography Comparator #132

Open
garypoker3 opened this issue Dec 9, 2016 · 1 comment
Open

DbGeometry /DbGeography Comparator #132

garypoker3 opened this issue Dec 9, 2016 · 1 comment
Assignees

Comments

@garypoker3
Copy link

it seems it doesn't work for Spatial types.

var geom = DbGeometry.FromText("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))", 4326);
var geom2 = DbGeometry.FromText("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))", 4326);
Assert.IsTrue(ComparatorFactory.GetComparator(typeof(DbGeometry)).AreEqual(geom, geom2));

Also it would be great to have Api to add your own comparator for any type , and also override default ones.

@bilal-fazlani
Copy link
Owner

good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants