A C#/.NET port of JTS Topology Suite, a Java library for GIS operations, (OpenGIS compliant).

learn more… | top users | synonyms

2
votes
1answer
27 views

Style geometry in shapefile with NTS

I am using NTS to generate a shapefile based on users' selection of data in a web interface. Each item selected is represented by a linestring and all relevant dbf data is exported nicely and the user ...
0
votes
0answers
67 views

Read 3D polygon from Oracle SDO_GEOMETRY and convert to triangles

History I have written a c# service that consumes a list of x,y,z points from a csv file. These points form a valid 3D polygon which I am able to verify using SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT()...
0
votes
0answers
43 views

A bounding rectangle for two lat longs points in .NET

I'm trying to figure out how to build a bounding rectangle around two lat long points using a .NET library. I've tried playing with NTS but I haven't found anything that does what i want it to. I ...
2
votes
1answer
191 views

How do I transform a point using NetTopologySuite?

I'm exploring how we can use NetTopologySuite to address a geoprocessing task. based on some code sample I found, I was able to piece together a sample application that reads a shapefile and checks if ...
0
votes
2answers
320 views

How two add line from point A to B

I am trying to draw a line between two lines. I could create points by using the createPoint Method using System; using System.Collections.Generic; using System.ComponentModel; using System....
0
votes
0answers
40 views

How to check if lat long overlaps geometry in STRTree

I am using NTS in C#. I have loaded the created STRTree and loaded the Geometry data in in.Now i am trying to search if a given lat, long is contained in which matching geometry and return its id. ...
1
vote
0answers
108 views

How to tell if a line intersects a polygon not only at endpoints?

How do I do this in .net topology suite or jts? Please see image. Any other library that can I run on .NET is fine, or even a general algorithm if there is no option. For example this answer is only ...
-4
votes
2answers
284 views

Create Blank ShapeFile in C#

I just want to create a Blank Shape file using c#. Any one suggest me code for it.
0
votes
2answers
336 views

MS Sql Server 2012 UnionAggregate geometry fails in ArcMap

I have following two geometries. Geometry 1 (G1): MULTIPOLYGON (((148.134707676 -34.1519003565, 148.143738823 -34.1540810687, 148.14648294 -34.1396863245, 148.143196834 -34.1392361445, 148.140859243 ...
1
vote
1answer
731 views

Intersection between two LineString gives “Non-noded intersection”

I am using NTS in my application and I have two line strings which are as follows: Line String 1: LINESTRING (51055.227410858584 52102.041513978584, 51073.39084032347 52096.46568847251, 51183....
2
votes
2answers
1k views

What is the problem with the polygon? Getting a *“found non-noded intersection”* exception error

I am working on a GIS program in which I needed to find the difference between the two polygons so, I decided to used NetTopologySuite (NTS) to find the difference. It seems to be working on some of ...
4
votes
2answers
802 views

Calculate distance of point along a line using NetTopologySuite

I am looking to calculate the distance along a line of a point using NetTopologySuite. Indications are that the distanceOp may have something to do with it, given that I can a point on a line closest ...
2
votes
2answers
794 views

Get Point at distance on a LineString using NetTopologySuite

I am quite sure there is a function in NTS that actually gets us a point at a distance along a line starting at first vertex. I am using NetTopologySuite version 1.12.1. In Shapely, the python ...
7
votes
1answer
2k views

What is a “non-noded intersection”?

Can someone provide a precise definition of what a "non-noded intersection" is? There are various GIS platforms and toolkits that have errors with this text, and Google search results for this tend to ...
2
votes
1answer
106 views

how to judge the side from a point to a linestring

I'm working with NTS (NetTopologySuite), I get point geometry and a directed linestring, how to judge the side of the point locate with the linestring? one the left side, right side, or just on the ...
1
vote
1answer
595 views

How to convert a CompositeCurve to a NetTopologySuite MultiLineString?

I would like to use NetTopologySuite to convert a CompositeCurve to a MultiLineString. I would like to find some code which shows how to convert this to a MultiLineString: <gml:CompositeCurve ...
2
votes
1answer
4k views

how to reproject the coordinate system from WGS84 to UTM with ProjNET

I'm new to ProjNET and NetTopologySuite, I get some points with Lon/Lat in WGS84, and the distance between two points is not with the unit of meter, so I want to reproject the coordinate system from ...
1
vote
1answer
983 views

How can I make a buffer with xxx meter by NetTopologySuite

I am very new in NetTopologySuite, I work with the coordinatesystem in WGS84 by lon/lat, with the NetTopologySuite. I found the Buffer function to create a buffer with a distance, but how can I make a ...
4
votes
2answers
743 views

Why isn't valid geometry not valid in NetTopologySuite when close to poles?

I have a Polygon which crosses the south pole: Polygon in WKT: POLYGON((5.86826073458095 75.6638564054071,-16.5436836399021 63.2220742891438,-19.3664667294083 59.846221066959,-21.7009816876343 56....