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
667 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.
0
votes
1answer
386 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 ...
4
votes
0answers
451 views

Creating 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); ...
2
votes
0answers
19 views

Looking for a raster calculator C# class

I am developing an application using C# and dotspatial. I need to performs raster calculation a lot..I need a library which helps me to do it..Do you know any library for this purpose? The library ...
1
vote
0answers
88 views

Dotspatial.Projections with custom Proj.4 string

I have lat,long values that I need to convert to x,y in a custom Lambert Conformal Conic projection defined as +units=m +a=6371229 +b=6371229 +x_0=0 +y_0=0 +proj=lcc +lon_0=0 +lat_2=25.0 +lat_1=25.0 ...
1
vote
0answers
61 views

How do I read the attribute data associated with my SHP?

I'm using DotSpatial to aid in processing some geospatial data. I'm using the code below to determine if a point (lat/lon location) is within a polygon contained in the SHP. If the point is in a ...
0
votes
0answers
32 views

DotSpatial Opposite of Featureset.Intersection

DotSpatial 1.8: I have some code to give me the intersection of my trip polyline and where it crosses key polygon regions. That works well: Dim fsResults As IFeatureSet = ...
0
votes
0answers
63 views

How to change Raster Layer drawing shape using DotSpatial

I am using DotSpatial and geostatisticaltool in a application. I want to change Raster Layer drawing type after kriging. Here the example. This is a kriging result. It creates new layer and draws ...
0
votes
0answers
134 views

Web application using Dot Spatial not rendering shapefile?

I want to create Asp.Net web application which can do following things. Import Image file and render on Dot spatial's map control in web application. create dynamic shape file. I have created the ...
0
votes
0answers
45 views

Performing Raster Algebra using DotSpatial?

I want to perform some Raster Algebra using DotSpatial. Is there any solution for it? Or any examples? this is a class which I am developing to perform raster algabra but as you see there is some ...
0
votes
0answers
46 views

Find line where the beginning or end of line touches a polygon with minimal radius

I need to check, If a point from a beginning or an end of a line is nearby a polygon. The target is to check, whether the line is nearly connected to a polygon. The data are coming from a shapefile. ...
0
votes
0answers
289 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
675 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 ...