SharpMap is an easy-to-use mapping library for use in web and desktop applications. It provides access to many types of GIS data, enables spatial querying of that data, and renders beautiful maps. The engine is written in C# and based on the .Net 4.0 framework. SharpMap is released under GNU Lesser ...

learn more… | top users | synonyms

6
votes
1answer
58 views

How to work with UTM and multiple zones

I'm totally a newbie with geo tools. I'm using Sharpmap as I'm working with C#. I have a map where I can put an item on a UTM Location with E,N Zone and number. So the item appears on the desired ...
0
votes
0answers
110 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
0
votes
1answer
258 views

converting projections using dotspatial or proj4

how can i convert projections using either dotspatial or proj4? i am making a program using sharpmap and dotspatial in VB.net have to convert a EPSG 4030 into a Lambert conformal conic projection and ...
1
vote
1answer
95 views

How to create themed layer based on a list of geometries and specific risk values in Sharpmap

I am now using SharpMap for creating a network-based tool. By using SharpMap, for constructing network, the current functions in SharpMap enables the tool to capture coordinate on background layer and ...
0
votes
0answers
104 views

Building real-time point/polyline connection in GIS

In the first instance I need to create the network by constructing the basic elements, the nodes and links. This is relatively easy work as SharpMap has provided geometry tools that allow users to ...
0
votes
0answers
121 views

Geoserver WFS Point Coordinates

I'm using SharpMap's desktop client within a C# WinForms application and GeoServer/PostGis as datasource. When i add a WFS layer that contains Multi-Line it works like charm. But if i add a point ...
0
votes
2answers
1k views

How to use Sharpmap to display spatial data from MS SQL Server 2008

Can anyone show me a step by step example on how to use Sharpmap to display MS SQL server spatial data using C# as the programming language? Please note I have exploit some of the example online but ...
1
vote
1answer
441 views

SharpMap WMS - How to add labels to a map containing a VectorLayer

First, I'm new to SharpMap. I'm adding in labels for a vector layer, but for some reason the labels are not showing up. My PostGIS data is in Geographic NAD 83 and the UI is OpenLayers so am ...
1
vote
1answer
525 views

How to show only some labels sharpmap

I am new to Sharpmap and GIS. Going through the sample code and building simple programs for better understanding. I have a water bodies layer. I want to display only a particular river. I used ...
1
vote
1answer
223 views

overview map with sharpmap

I'm using Sharpmap to create a GIS application. I'm trying to get a small overview map on top of my map so it gives an idea what part of the map is being viewed. Is there a simple/implemented way of ...
4
votes
2answers
803 views

A bug in ESRI Line Geometry WKB that adds needless, trailing 0's behind otherwise valid WKB?

[Update 7.13.2012] My coworker noticed the the ESRI Line WKB is malformed contains unspecified trailing data, and since he's not active on GIS.SE, I posted his remarks as an answer. I'll wait a few ...
7
votes
2answers
1k views

How to start using the SharpMap library?

I am a very newbie on GIS and also programming especially c#. I am trying to develop a program to: display map from geotiff, dted (level 2 i guess), shapfiles and jpeg type of files. display ...
2
votes
2answers
1k views

How to perform transformations using ProjNet?

While writing some unit tests I thought it would be convenient/possible to use ProjNet to convert from EPSG:4326 into several other coordinate systems (3875,3395). I figured it would be as easy as ...
0
votes
1answer
388 views

how to reproject data in EPSG:4326 to 3857 using SharpMapv0.9 for display on google maps

I have data stored in SQL Server 2012 in EPSG:4326. I need to display this data on a google map in 3857. but without an ST_Transform function, I cannot determine how to convert my data on the fly to ...
0
votes
1answer
955 views

How can i add sharpmap to visual studio2008?

i have just installed visual studio 2008. and i want to add sharpmap or any other tool so that i can add shape file in .net. I have selected sharpmap because by the search i have got that sharpmap is ...
1
vote
1answer
379 views

How to tell SharpMap to display polygons based on z-order?

I have a series of polygons which overlap in spatialite. Each has a an attribute providing it's z-order as well as the output color for that polygon. What do I need to do, processing-wise, to allow ...
2
votes
1answer
460 views

TopologyException side location conflict reading MapInfo with Sharpmap

I'm using SharpMap 0.9 to read various MapInfo (.tab) files. I have used a number of files without any problem and been able to perform intersection queries on them like so: var interesectionResults ...
2
votes
0answers
190 views

SharpMap UK OS data

I've downloaded the UK raster and the corresponding tab file from the ordnance survey website and have displayed the image using the GDARaster class. however I am now stuck as I have no idea how to ...
2
votes
1answer
1k views

sharpmap overlay mapinfo on bing/google

I want to use sharpmap to overlay a mapinfo tab file onto google or bing. I have it working pretty much at the moment however the co-ordinates that bing/google show are in correct so my mapinfo file ...
1
vote
2answers
642 views

accessing mapinfo data without using mapinfo api

I need to be able to access various mapinfo layers but without using the mapinfo api. I have found that I can convert the mapinfo layers to an access database to get the attribution and I can use ...
0
votes
2answers
457 views

How to find the Local Government Area name using lat/long?

I'd like my iPhone app to respond to the device owner with his/her Australian LGA (local government area) name using their lat/long. I've found this page below with a Shapefile: ...
5
votes
2answers
1k views

Create a closed polygon from a series of edges given a point

I have a series of points fed into a voronoi graph class that returns a series of edges defining the bounds between these points, the process works it returns a series of edges. I now need to do a ...
1
vote
2answers
378 views

Getting the Correlated FeatureDataRecord (or meta-data) for a Given Geometry?

I'm using SharpMap 2.0, and I'm successfully loading a shapefile and parsing through it. The particular shape file that I'm working with has about 700 polygons in it, and each of those polygons has ...