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

-2
votes
0answers
23 views

how can i add tiled layer on Sharpmap using postgresql? [on hold]

map = new Map(); try { //VectorLayer v = new VectorLayer("Point", new PostGIS("server=localhost;port=5433;user=postgres;pwd=9839757437;database=OSM3", ...
1
vote
2answers
52 views

How to get point location?

I load a VectorLayer which contain coordinate location point. Now, I have a VectorLayer and I would like to get the point location on a item of this layer in order to center a map to this point. Is ...
1
vote
1answer
44 views

Any possibility to have local tiles of OSM an display them with Sharpmap

I'm using Sharpmap to develop my Windows application. I am able to show OSM using Brutile provider of OSM default server. This is a Tile Layer of Sharpmap. new SharpMap.Layers.TileAsyncLayer(new ...
1
vote
1answer
36 views

Applying a new colour scheme on GdalRasterLayer using SharpMap

I'm currently developing a surface water modelling system in C# (.NET) and am using the SharpMap control as my mapping component. It's all going well, but there's one thing I'm struggling with. I ...
0
votes
0answers
19 views

How to reorder layers in MapBox?

How to move up or down a selected layer in a MapBox? I suppose it is similar to the listbox reorder (removeat and insert). I would be helpful if somebody has a good solution.
0
votes
1answer
94 views

How worked with large shapefile using sharpmap? [closed]

I use sharpmap for working with shapefile. Now shape file is big and sharpmap take a long time to loading layers. Please tell me how i can speed up working with shapefile.
1
vote
1answer
109 views

How to create a polygon with four coordiates

I need to draw polygon shape with the following coordiantes private List<IGeometry> geos2 = new List<IGeometry>(); var gf = new GeometryFactory(new PrecisionModel(), 3857); ...
2
votes
1answer
49 views

Create New point

creating new point with different coordinates not changing the position. First point The bellow code create a point on the map VectorLayer pushPinLayer = new VectorLayer("PushPins"); ...
0
votes
2answers
152 views

How two add line from point A to B

I am trying to draw a line between two lines. I could create points by using the createPoint Method using System; using System.Collections.Generic; using System.ComponentModel; using ...
0
votes
1answer
265 views

How to make a point from real latitude and longitude values

My program has a center point and one moving object . At this moment this point is somewhere in Europe.But Now i have to change that point from the latitude and longitude values(of Australia) . Please ...
0
votes
0answers
47 views

How to convert real altitude and longitude values to GeometryTransform.TransformBox values

I have a running program which has a point but its values are not dynamic . Current code for the point is var mathTransform = LayerTools.Wgs84toGoogleMercator.MathTransform; ...
1
vote
1answer
43 views

How can i get the center point for victoria

I am following this tutorial. But as per this tutorial the the center point is located in Netherlands. Now I need to change this for Victoria, Australia. Could you please tell me how can i change it. ...
1
vote
1answer
166 views

SharpMap Coordinate transformation Problem

Hey guys i want to transform my layers from SRID 31463 (Gauß Krüger) to Webmercator. Since SharpMap does only know webmercator and WGS84 i tried to create the Coordinate System 31463 by WKT and ...
2
votes
0answers
189 views

Loading Raster with SharpMap (GDAL) doesnt work

i have problems loading rasterfiles (.tiff) with SharpMap I tried initializing a SharpMap GDAL Layer but nothing happens. It doesnt even throw and error when debugging after i set a path for the file ...
0
votes
0answers
60 views

MapBox VectorTile

I'm trying to decode mapbox vector tiles for use with SharpMap. Does a tile know its position in the grid (x, y) and zoom level (z), or do I have to provide these values alongside with the vector ...
1
vote
2answers
226 views

How to show street direction on map?

I am using sharpmap to render my OPEN STREET MAPS (osm) maps. i need to show the direction of one way streets on my map. How can i do that?! After googling i found SharpMap.Rendering.Symbolizer and ...
0
votes
0answers
221 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
1answer
281 views

SharpMap & BruTile library: Method not found

I'm using SharpMap 1.1 and BruTile 0.12.0 in my project. when I try to add a Tilelayer to the map the program stops with an unhandled exception of type System.MissingMethodException. ...
6
votes
1answer
169 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
1answer
634 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
783 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
331 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
192 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 ...
1
vote
2answers
3k 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
906 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
1k 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
282 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
1k 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
2k 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
3k 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
569 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
1k 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
527 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
629 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
210 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 ...
3
votes
1answer
2k 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
799 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
532 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: ...
6
votes
2answers
2k 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
635 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 ...