Developer
Apr 3, 2012 at 10:07 AM
|
I'm writing an algorithm for contouring in an extension.
I have to use NTS libraries (the DS Topology libraries doesn't works enough) and other controls developed by myself.
Questions:
1. some other interested?
2. can I add the extension at the source code or is better I create a separate project ?
|
|
Coordinator
Apr 4, 2012 at 10:25 PM
|
would you consider adding your improvements to DS?
|
|
Developer
Apr 4, 2012 at 10:40 PM
|
Hi, I would like to include it in the Geostatistical Tool plugin..
|
|
Developer
Apr 5, 2012 at 12:58 AM
|
Are you using the nuget package in your project? http://nuget.org/packages/NetTopologySuite
|
|
Developer
Apr 5, 2012 at 7:30 AM
|
I'm here to understand with you the best way to include the code in the DotSpatial community. So I can add the code as a tool of DS or adding them at the geostatistical plugin.
I use this version of NTS at http://code.google.com/p/nettopologysuite/ but I think can be easily replaced.
|
|
Editor
Apr 5, 2012 at 2:15 PM
|
mudnug wrote:
Are you using the nuget package in your project? http://nuget.org/packages/NetTopologySuite
You should be able to use http://www.nuget.org/packages/NetTopologySuite.DotSpatial.Converter
Hth FObermaier
|
|
Developer
Apr 5, 2012 at 7:06 PM
|
@Tummi I think that one should be added as as an extension (or to an extension). Including NTS in the core would result in confusion since DotSpatial already includes a (modified older) copy.
|
|
Developer
Apr 5, 2012 at 10:01 PM
|
The contour is added as an application extension.
@FObermaier: will include your interface between NTS/DS in a successive version.
@carosoisu: if you like to include the code in geostatistical tool you have the source code.
To create contours:
- add a raster to the map
- select if you wont lines or polygon contour
- check if min/max/every are good for you
- choose colors from palette:
- to add a marker on the palette simply click on the palette.
- to change a color marker click on the marker and choose color from the color picker
- to move a marker drag them
- to remove a marker right click
hope you like it !
|
|
Developer
Apr 6, 2012 at 7:35 PM
|
Did you use TFS to make your checkin? I'm left with a folder name DotSpatial.Plugins.Contourer that has a folder named ..svnbridge in it. But the project is missing.
|
|
Developer
Apr 17, 2012 at 11:06 AM
|
I've seen you uploaded the project.
In this days I was very busy, but in next times I'll read more about TFS and I'll start using.
To improve contourer a line smoother is availbel in DS or NTS ?
|
|
Developer
Apr 17, 2012 at 1:10 PM
|
Check out DotSpatial.Topology.Simplify.DouglasPeuckerLineSimplifier.Simplify().
Kyle
|
|
Editor
Apr 17, 2012 at 1:30 PM
Edited Apr 17, 2012 at 1:36 PM
|
For completness (since you already use NTS for the Polygoninzer API):
You can use
- NetTopologySuite.Simplify.DouglasPeuckerSimplifier or (if topology is mandatory)
- NetTopologySuite.Simplify.TopologyPreservingSimplifier.
The other way around there is
- NetTopologySuite.Densify.Densifier
Hth FObermaier
|
|