New Post: Looping over layers in map
Hi, I'm trying to loop over layers in the map and populate them into a combo box. The user will select one of the layers from the combo box to perform an operation on. How does one loop over layers in...
View ArticleNew Post: Looping over layers in map
get a map layer collectionDim lyrs As IMapLayerCollection = map.Layers or if you want only from a certain map groupDim lyrs As IMapLayerCollection = mapgrp.Layers then iterate through the collection...
View ArticleReviewed: DotSpatial 1.9 (Nov 29, 2016)
Rated 4 Stars (out of 5) - DotSpatail 1.9 missing any Layout control. How to solve this problem?
View ArticleClosed Unassigned: FeatureSet.Open(".shp") throws wrong error if .shx is...
If the .shx file is missing from the same path the exception thrown indicates the .shp fileName is missing but should instead indicate that the .shx fileName is missing. Comments: fixed in 2.0 on github
View ArticleClosed Unassigned: I have attached references but they are not Enabled.? [63639]
i heve attached dotspital controler.dllComments: If you still have this problem please explain it in more detail on...
View ArticleClosed Unassigned: Incorrect selection of polygons with Holes [63638]
Found a bug in the PartRange class under the method of IsHole.This: if (i < EndIndex){ x2 = Vertices[(i + 1) * 2]; y2 = Vertices[(i + 1) * 2 + 1];}else{ x2 = Vertices[StartIndex]; y2 =...
View ArticleClosed Issue: Is this a bug in DotSpatial.WebControls? [22810]
Hello, I have a shp file which is exported by dxf file. I add the shp file to GDIMap and run the WebDemo,These is no map show in the WebMap control. I click the ZoomIn buttom,then throw the...
View ArticleClosed Unassigned: LegendText ReadOnly [63599]
Hi,I'm using this code for to identify the single layer present in 'MapLayers'```IMapFeatureLayer[] arrayLayer = currentMap.GetFeatureLayers();foreach (IMapFeatureLayer layer in arrayLayer){ if...
View ArticleNew Post: Nmea Emulator Protocol
Nmea Emulator in DotSpatial.Positioning. can emulate gps tracking device. Real tracking gps devices have protocols which they use when sending data. So my question is there any protocol for Nmea...
View ArticleNew Post: Reprojection Inaccuracy from 20355 to 4326
I am trying to reproject some points in EPSG:20355 to EPSG:4326 and cannot seem to get an accurate result. Here is an example: Point in EPSG:20355: 665423.2146,7458565.1391 If I reproject this point...
View ArticleNew Post: Missing wiki page: DotSpatial.Analysis
Hello, The documentation on the following page seems to be missing:...
View ArticleNew Post: Reprojection Inaccuracy from 20355 to 4326
Try the latest build. I think they did some updates on the re-projection calculations. ~AGP
View ArticleNew Post: Creating a Shape File
I am not sure why it wont save it in the first place. But when I try to save a Shape File, it errors, I get the following error. I cant figure out what I am missing. Here is the Code: Dim returnval As...
View ArticleNew Post: Creating a Shape File
Your path should begin with C:\ not C\ . If you're missing the : in your code too, you might get the wrong error message because DS can't recognize it as path.
View ArticleNew Post: M Values for points or lines
I am really stuck. I have been able to create a point Shape File With X, Y, and Z Values I cannot get it to keep the M Values I am setting. Afetr creating the Shape File, I open it inside of ArcMap. It...
View ArticleNew Post: M Values for points or lines
What version of DotSpatial do you use? Please post the code you used to create, fill and save the shapefile.
View ArticleNew Post: M Values for points or lines
I am using the latest 1.9 Here is the code Private Function CreateShapeFile(ShapeType As FeatureType, columns As ObservableCollection(Of PointColumns), ShapeFileName As String) As FeatureSet Try Dim...
View ArticleNew Post: M Values for points or lines
The only reason I see for your M beeing NaN is that you didn't add it to your features. So change Dim newpoint As DotSpatial.Topology.Point = New DotSpatial.Topology.Point(coord.X, coord.Y, coord.Z)...
View ArticleNew Post: M Values for points or lines
Yea I dont know how I missed that. If you could also advise me, I am trying to produce the same thing with a LineString Feature. I basically am getting the same result. The Features are there, They...
View Article