New Post: Printing the DrawingLayer using LayoutForm
Can the LayoutForm print features on a DrawingLayer? From what I have seen, it looks like the LayoutForm only works with standard layers. The features from the drawing layer do not appear on the print...
View ArticleClosed Unassigned: ShapeReader - Error moving from one page to the next [63623]
Hello,there is a error in the [`DotSpatial.Data.ShapeReader`](http://dotspatial.codeplex.com/SourceControl/latest#Trunk/DotSpatial.Data/ShapeReader.cs).The move next function is incrementing the...
View ArticleClosed Issue: ReprojectPoints is no longer correct. [383]
I last downloaded code on March 7 and it was working correctly. Using the source from Nov 16, it's now wrong. I tried a few tests and they all displayed incorrect conversions. I will try to track it...
View ArticleNew Post: Printing the DrawingLayer using LayoutForm
Kev85, How are you doing this? can you share some codes please
View ArticleNew Post: Offset line feature
I saw this code in Mapwindow5 and was thinking if there was a way to convert it to dotspatial to offset line feature. It would be great if the code can be converted and incorporated into the dotspatial...
View ArticleClosed Unassigned: Exception when calling Feature.Difference() [63614]
I am checking whether a feature is intersected by another feature, and if so I remove the overlapping part from the first feature. It works for most of the polygons in the feature set I am working with...
View ArticleClosed Unassigned: IsSimple returns true without checking [25307]
I found three Classes (Polygon, Multipolygon, LinearRing) in Dotspatial.Topology where IsSimple returns true without checking, whether the Geometry is simple.In LinearRing.cs there is also the problem...
View ArticleClosed Issue: Polygonizer StackOverflowException [22984]
I am trying to use the Polyzonizer class. I keep getting the following exception: An unhandled exception of type 'System.StackOverflowException' occurred in DotSpatial.Topology.dll Here is my sample...
View ArticleClosed Unassigned: Coordinate getHashCode() incorrect [63490]
The Equals() method of the DotSpatial.Topology.Coordinate class was overridden, but the getHashCode() function was not. Therefore, it is possible for equal coordinates to have different hashcodes,...
View ArticleNew Post: .AddLayer shows missing or invalid projection dialog, it shouldn't
When I load a .shp file with .AddLayer(fileName) a missing or invalid projection dialog is shown It should be overloaded with a variant where I can specify this in code so that the dialog is never shown.
View ArticleNew Post: .AddLayer shows missing or invalid projection dialog, it shouldn't
That would be a nice feature. Also if a projection is not specified there should be an option in the Framework to assume its geographic (probably WGS84). Then it would get loaded to the map but would...
View ArticleNew Post: .AddLayer shows missing or invalid projection dialog, it shouldn't
As Oscar commented in issue Prevent projection dialog popup you can set Map1.MapFrame.ProjectionModeDefine = ActionMode.Never for the dialog to not show up. Then the projection of the added layer...
View ArticleNew Post: How to get the Centroid coordinates (lat/lon) of all features of a...
Hi Oscar, This works perfect and very fast. Here my final Code: Dim CPoint As PointLatLng For Each fff As IFeature In fset.Features Dim xc, yc As Double 'initialize centroid coordinates xc = 0 yc = 0...
View ArticleNew Post: How to access NetTopologySuite .IO.MsSql2008GeographyReader
Can DotSpatial.NetTopologySuite and DotSpatial.GeoAPI (from Nuget) be used instead of NetTopologySuite and GeoAPI? It does not work for me anyway, for example I cannot access extension functions such...
View ArticleNew Post: How to access NetTopologySuite .IO.MsSql2008GeographyReader
DotSpatial.NetTopologySuite and DotSpatial.GeoAPI are supposed to be used with DotSpatial 2.0 that can be found on GitHub. They are not meant to be used with older DotSpatial versions. In DotSpatial...
View ArticleNew Post: .AddLayer shows missing or invalid projection dialog, it shouldn't
Ahhh I didn't know that. That's perfect for my needs at least. I can still determine if there is a projection and if not then alert the user that there is no projection and it will be treated as WGS84....
View ArticleNew Post: map1.MapFrame.DrawingLayers and map1_paint not showing in...
I have used the MapFrame.DrawingLayers and the map1_paint to draw some lines on the map1. I realized than when I want to print, the MapFrame.DrawingLayers and the map1_paint objects created do not...
View ArticleNew Post: Multiple selections
Sorry I ment Tutorial 2 and the button filter by name. I would like to select more than one state. and If I click on Another state I would like to Catch an event that tells me which state I clicked on.
View ArticleNew Post: Selection Changed event, how to get the name of the selected state.
I tried to shift click and cotrol click in both cases the previous selection is unselected Before the new one is selected. Is there some multiselect property that must be set?
View Article