I'm using the .NET NTS library and have the code together to load a KML file. This gives me an instance of IGeometry
.
Along with this data being loaded, I also have coordinates that I'd like to look up against it to see what shapes are at that point (usually will only be one). After getting the shape(s), the KML I have also includes some additional feature information which I'd then like to be able to get the values from.
My understanding of these APIs is somewhat limited and I haven't been able to find any comprehensive examples of what I need to do once I have the data loaded.
var kml = await stream.ReadToEndAsync();
var reader = new GMLReader();
geometry = reader.Read(kml);
// ...now what?