These are chat archives for NetTopologySuite/NetTopologySuite

18th
Jul 2018
Sean Walsh
@capesean
Jul 18 08:52

Thanks, Felix - that's helped a lot.

I'm now hitting an issue within TopoJSON where a call to topoJsonWriter.Write(feature) gives a compile time error: Reference to type 'IFeature' claims it is defined in 'NetTopologySuite', but it could not be found.

If I replace that method call with the (method's) explicit code from the source TopoJSON project, I get the error Could not load type 'NetTopologySuite.Features.IAttributesTable' from assembly 'NetTopologySuite, Version=1.15.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1'. on the call to Serialize.

I appreciate this probably isn't the forum for posting this, though - should I move it to a Github issue?

Felix Obermaier
@FObermaier
Jul 18 10:52
NetTopologySuite.Features lives in a seperate package: You need to add https://www.myget.org/feed/nettopologysuite/package/nuget/NetTopologySuite.Features
Sean Walsh
@capesean
Jul 18 11:04
I've got that package, thanks. I think the TopoJSON one is using an older version (1.15.pre32?) and things existed in different places then, so I was getting conflicts. I suspect TopoJSON is also a long way from finished (lots of NotImplementedExceptions)...
I'd love to contribute, but this seems a bit above my pay grade. I can't even get it to run!