DotSpatial is a geographic information system library written for .NET 4. It allows developers to incorporate spatial data, analysis and mapping functionality into their applications or to contribute GIS extensions to the community. DotSpatial provides a map control for .NET.

learn more… | top users | synonyms

2
votes
1answer
447 views

How to create Map Document for DotSpatial?

How can I create a Map Document (including layers, symbology info etc.) for DotSpatial just like we have MXD File in ESRI ARCGIS.
1
vote
1answer
172 views

C#/.Net Library that can draw a line across the date line

I want to be have an embedded map in my application that can handle drawing lines across the date line. I have tried out dotspatial and sharpmap and neither have been able to handle this. Edit: Here ...
0
votes
1answer
57 views

Drawing a line and getting the length of the line C#?

I am trying to get the length of a drawn line to a textbox but its throwing an NullReferenceException at var length = f.ToShape().ToGeometry().Length;. what else should i use in the code to finish ...
0
votes
1answer
260 views

Coordinate transformation/reprojection using DotSpatial

need some help. The following piece og code worked with an older version of DotSpatial. public static Geometry Project_EPSG25832_To_EPSG3857(byte[] wkb, int SRID) { ...
3
votes
0answers
344 views

Creating a ShapeFile spatial index programmatically in .Net

I am creating a shapefile programmatically using DotSpatial using the following example syntax / pseudo code FeatureSet features = new FeatureSet(DotSpatial.Topology.FeatureType.Polygon); ...
0
votes
0answers
47 views

How to draw a selectable line feature in Dot-Spatial and export its length to textbox?

I would like to draw a line in dot-spatial using mouse-move event at runtime and user can select and manupulate it. further i want to extracts its length to textbox or spatialStatusStrip. p.s i have ...
0
votes
0answers
51 views

Adding attributes to sharpmap vector

i m making points using the following code Dim strFile = strLayer & ".wkt" Dim vectorLayer As SharpMap.Layers.VectorLayer = New SharpMap.Layers.VectorLayer(strLayer) Dim geomColl = New List(Of ...
0
votes
0answers
36 views

ProjToCell and CellToProj method of DotSpatial in ArcGIS C# SDK

In DotSpatial there are two methods which are vary helpful to me. 1. Coordinate IRaster.CellToProj(row, column); //here Coordinate is left-top corner of the cell 2. RcIndex IRaster.ProjToCell(x,y); ...
0
votes
0answers
52 views

ClipRaster Class of DotSpatial is problematic

I want to clip a raster data with a polygon extent. Here is my Layers. Polygon layer is colored and raster is black and white. When I cliped using ...
0
votes
0answers
17 views

Display Preview Images In Map Extends

I am displaying some map extends by lat/long on map control by using shapefile writer of DotSpatial library. Now I want to display preview image within each extend that is selected. How can I achieve ...
0
votes
0answers
306 views

How to convert multipolygons to a single polygon

I have converted a set of gps points to polygon and then using .makevalid() I saved them in sql server.But It converted them to multypolygons.Is there any way to fix this problem and convert them to ...