spatial-data

Can I use Entity Framework 6 (not core) in .net core?

北慕城南 提交于 2020-12-01 02:07:48
问题 Entity Framework Core does not support spatial data, which I need to use in my app. Can I use Entity Framework 6 in .net core? If so, how can I register DatabaseContext in Startup.cs ? 回答1: No, you can not directly, because EF6 doesn't support .NET Core. But, you can create another project, that compiles against full .NET framework and use it as a reference. MS has actually made a decent tutorial for this: https://docs.microsoft.com/en-us/aspnet/core/data/entity-framework-6#reference-full

Connecting a set of points to get a non-self-intersecting non-convex polygon

岁酱吖の 提交于 2019-12-25 01:27:56
问题 I have an unordered set of 2D points which represents the corners of a building. I need to connect them to get the outline of the building. The points were obtained by combining different polygons collected by different individuals. My idea is to use these polygons to get the points in order (e.g. taking the region between the biggest and smallest polygons and connect the points such that it comes in this region). I tried using the minimum distance criteria and also to connect the points

Intersection of polygons in R using sf

荒凉一梦 提交于 2019-12-02 08:30:29
问题 I want to assess the degree of spatial proximity of each point to other equivalent points by looking at the number of others within 400m (5 minute walk). I have some points on a map. I can draw a simple 400 m buffer around them. I want to determine which buffers overlap and then count the number of overlaps. This number of overlaps should relate back to the original point so I can see which point has the highest number of overlaps and therefore if I were to walk 400 m from that point I could