nettopologysuite Questions

3

Solved

I am attempting to use the geometry functionality in Sql Server and EF Core. I've installed the following packages <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopol...
Mantoman asked 29/8, 2019 at 23:38

2

Solved

I'm a bit new to working with polygon data (in C# using NetTopologySuite) and want to get the bounding box of several polygons, depending on the fact whether the bounding box of each polygon is ove...
Roxyroy asked 7/12, 2020 at 15:50

4

Solved

Trying to return some pretty simple GeoJSON data. I found NetTopologySuite, and set up a simple FeaturesCollection and tried to serialize it out to a GeoJson string only to get the following error:...
Gothicism asked 5/11, 2014 at 17:36

1

Solved

This question has been posted multiple times before but the answers no longer appear to match the method signatures available in the latest NuGet packages. After spending days trying to piece toget...

3

Solved

What is the best way to create a polygon from list of point? I have an array of points, if points are at least 3 I would like to join to create a polygon Dim ClickedPoint As New NetTopologySuite....
Dorthydortmund asked 29/9, 2015 at 7:58

3

My problem statement: I have a polyline, and I want to do variable width offset along the points, in just one direction. How can I do it? For the polyline, I just need to support straight lines, no...
Louvain asked 6/1, 2022 at 6:19

2

Solved

I have polygon: polygon((0 0, 1 0.1, 1 1, 0.5 1, 0.5 1.5, 1 1, 1.5 1.5, 1.5 1, 1 1, 1.5 0.5, 1 0.1, 2 0, 2 2,0 2, 0 0)) For sure it's not looks normal, but Sql Server 2017 said that it's valid. B...
Cockahoop asked 15/11, 2021 at 10:51

0

I have a table with Geometry column using EF Core spatial data and Npgsql.EntityFrameworkCore.PostgreSQL provider class City { public int ID { get; set; } public string CityName { get; set; } ...

2

Solved

I am trying to calculate distance between two points using NetTopologySuite. Since I am referencing Microsoft documentation, I Came up with following GeometryExtension and GeometryHelper classes: ...
Maunsell asked 12/4, 2021 at 17:3

2

Solved

I have a model that looks like this: public class Facility { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } public NetTopologySuite.Geometries.Point L...

4

Solved

I want to seed "Location" data for my user object from my seed file The c# object, where Point is a NetTopologySuite.Geometries.Point is part of my user object public class User: IdentityUser&lt...
Matronymic asked 23/7, 2019 at 22:25

2

Solved

Hi I am trying to parse the response from a OSM webservice into feature collection using GeoJson.Net I am new to GeoJSON and not able to identify how to do so: The Json response can be find here....
Bushwa asked 10/6, 2016 at 13:45

2

Solved

Whenever I use FreeMapTools to calculate the distance between myself and my friends postcode, it gives me the following: 300.788 Miles 484.072 KM When I use NetTopologySuite, I get the value...
Daria asked 4/3, 2019 at 20:40

3

I recently upgraded to the newest version of EntityFrameworkCore.PostgreSQL but the spacial data didn't seem to work, because they now use NetTopologySuite see here To set up the NetTopologySuit...
Suppliant asked 21/6, 2018 at 13:25

1

Solved

I am using Entity Framework Core 2.2 with NetTopologySuite 1.15.1 and SQL Server 2016. Having a column of type IPoint works great to the point I want to create an index on it. I have this table p...

1

So I have a bunch of WKT representing a multi-polygon. I exclusively use DotSpatial to manipulate geometries. Specifically I'm trying to get a DotSpatial.Topology.IGeometry out of my WKT. Unfortun...
Cranky asked 8/6, 2018 at 20:21
1

© 2022 - 2024 — McMap. All rights reserved.