Questions tagged [sharpmap]

SharpMap is an easy-to-use mapping library for use in web and desktop applications.

SharpMap 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 General Public License

56 questions
0
votes
1 answer

SharpMap - display an overlay image synchronized with the map (georeferencing functionality)

Using SharpMap (Windows Forms) how can I display an overlay image over the map tile background so that the image scales and moves accordingly with the map zoom and pan? I want to implement a georeferencing like functionality. I tried using…
Alex P.
  • 1,140
  • 13
  • 27
0
votes
1 answer

How map longitude and latitude to WGS84 using Sharpmap?

Our program stores address coordinates as latitude longitude (something like 51.215630827;6.7760496559) in the database. I would like to draw map image with some point of interest using SharpMap library. I guess, those libraries have some methods…
0
votes
1 answer

SharpMap WMTS / TMS Server implementation

Can anyone help me with the implementation of WMTS / TMS Server in SharpMap? I've been trying out a lot from diff sources but I can't seem to come up with a working solution. Below is a handler I am using, it's just drawing the boxes instead of…
0
votes
1 answer

Shape is not getting plotted on the map image generated

I am trying to create map image from the attached JSON the image shows correct location but does not plot polygon. This is happening only in case of one feature having circle shape whereas for other shapes they are rendered fine. Following function…
Nilesh
  • 135
  • 1
  • 2
  • 12
0
votes
1 answer

Exporting Sharp Map map to Shape File (.shp)

Decription : I read Data from PostGreSQL and display it on SharpMap using SharpMap Library. What i want I want to export SharpMap map into ShapeFile (.shp). How can i do that?
Zohaib Waqar
  • 1,204
  • 11
  • 18
0
votes
1 answer

Xamarin Mapsui - How do I make the map roll over on end of world?

I need to show a map that can pan forever horizonitally. Is it possible for me set it so that the TileLayer rolls over to show the other side of the world on panning past the end of the map?
0
votes
1 answer

How to overlap .NET UI control on a map

I wanted to set multiple Symbols on a same Layer but, as far as I know, SharpMap (v4.0) does not support this. So I decided to set a lonely Layer populated by Points and "paste" dotNet UserInterfaces over each point. Each interactive UI have its own…
MaaaL
  • 1
  • 3
0
votes
3 answers

sending wms request to geoserver via brutile/sharpmap to load tiled map (tiled=true)

I want to load tiled map in a mapbox of SharpMap. I have GeoServer and send WMS request to that but I receive only single tile map. how can I receive multi-tile map? here is my code: Dim wmsUrl As String =…
Ehsan Zand
  • 350
  • 1
  • 15
0
votes
1 answer

Unable to use ST_Intersects on geometry field

I have converted the Personal Geodatabase of ESRI (*.mdb file) into the PostGIS enabled PostgreSQL database using FWTools. On which I get my geometry field named as wkb_geometry as follows wkb_geometry geometry(Geometry, 3148), While querying the…
rughimire
  • 374
  • 1
  • 5
  • 16
0
votes
1 answer

How to get Geometry points using Geo API (Sharpmap)

I have a EPSG:4326 WGS 84 Shapefile and I've converted it into Sql Spatial Data I'm able to render the map using that with sharpmap 1.1(Previously was using Sharpmap 0.9). What I'm trying to achieve is when I click on a generated Polygon, the…
0
votes
1 answer

How to display a google map layer using SharpMap?

I am new to SharpMap and never had any experience using any GIS. How do I get sharpmap to display a google map and then show some points on it using the latitude and longitude values? (example: Point 1 latitude: -36.853427, longitude: 174.770385;…
theQuestionMan
  • 1,270
  • 2
  • 18
  • 29
0
votes
3 answers

C# .NET not recognising Sharpmap.Geometry

I am trying to follow a SharpMap tutorial from the official sharpmap documentation here: http://sharpmap.codeplex.com/wikipage?title=Create%20a%20map&referringTitle=How%20to... My problem is that Visual Studio underlines the Geometry part of the…
theQuestionMan
  • 1,270
  • 2
  • 18
  • 29
0
votes
1 answer

How to add OpenStreetMap as background layer to my sharpmap map

I have a web application which uses sharpmap 1.1 to generate maps(Works Pretty awesome), now i want to add an Open street map as background to my current map. I tried some online examples but no luck. So far I've tried the below. var…
0
votes
1 answer

Changing offline .shp file in sharpmap tutorial code

I am working on a project to integrate a offline map in C#, I want to use sharpmap for offline maps but I am facing a problem in changing the given shape file(states_ugl) in the tutorial to a different one. I have tried to put many different shape…
DataDruid
  • 11
  • 4
0
votes
1 answer

How to initialize correctly the zoom level in a SharpMap object?

I'm working with a MapBox object from SharpMap in a Windows Forms C# app and I can't seem to find how to make the zoom level work. The MapBox object is in a TabControl object. This class is called after the main InitializeComponent() call in my app.…
kaycee
  • 901
  • 1
  • 9
  • 35