-
Notifications
You must be signed in to change notification settings - Fork 18
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
Repository structure #1
Comments
If this were the only concern, then perhaps you could give I expect a little bit of a performance penalty compared to some other sequence types when the |
Thank you @airbreather for your comment. Storing coordinates in efficient way is a big concern for me to. I'm not familiar with all different types of geometry factories, so I was going to require public ShpStreamBase(ShapeType shapeType, GeometryFactory factory)
{
...
Factory = factory ?? NtsGeometryServices.Instance.CreateGeometryFactory();
...
}
internal CoordinateSequence GetCoordinateSequence(int size)
{
return Factory.CoordinateSequenceFactory.Create(...);
} You mean I should always use |
A few notes:
|
Looking at the docs it "Writes features as ESRI GeoDatabase binary format in a SqlServer database", looking at the code it simply extends snts.io.shp So I can assume that ESRI binary format is exactly the shapefile geometry format, stored in a sql column. +1 to leave this code in the deprecated library, at least for now. |
@KubaSzostak if you are already working on this topic I encourage you to let us take part in the process. |
I have started working on merging and cleaning up the projects at the weekend. I will push the code within the next few days. |
Thanks @KubaSzostak ! |
Before I get started I would like clarify proposed repository structure.
Array
and then copied to NTS'CoordinateSequence
. It would be more efficient to load them directly from binary intoCoordinateSequence
. Furthermore the Core project doesn't contain any geometry logic (line length, polygon area, ...). Because of that some issues will be very hard to fix directly in Core project. For example fixing Cannot read a polygon with a hole from a ShapeFile NetTopologySuite.IO.ShapeFile#70 will be much easier having NTS'LinearRing.IsCCW
property. For that reasons I would like to combine those two projects into one project which is tightly integrated with NTS library.What do you think, @FObermaier?
The text was updated successfully, but these errors were encountered: