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

How can I add here map as tile layer by BruTile / SharpMap?

I'd like to add Here maps map tiles to my map by BruTile / SharpMap. The URL scheme is the following by their…
Tom
  • 3,899
  • 22
  • 78
  • 137
0
votes
0 answers

How can I show labels on sharpmap using PostgreSQL in c#?

VectorLayer v = new VectorLayer("Point", new PostGIS("server=localhost;port=5433;user=postgres;pwd=9839757437;database=OSM3", "GhanaRegions", "Geometry", "id")); VectorLayer v1 = new VectorLayer("Point", new…
Gyan Shukla
  • 51
  • 1
  • 3
0
votes
1 answer

Sharpmap - Print points over map

I've just started using Sharpmap but I have a problem. I'm not able to print points (not even one) over a map using this library. I didn't find a good example to do it, and my code is not working. It draws a point way too far from where it should be…
Esteban
  • 3
  • 3
0
votes
1 answer

SharpMap type conversion - WPF

I want to display a shapefile .shp in a SharpMap box, I wrote this code : public partial class Details : UserControl { public Details() { InitializeComponent(); SharpMap.Layers.VectorLayer vlay = new…
geocoder
  • 87
  • 13
0
votes
2 answers

Tricky assembly version incompatibility

I recently added SharpMap to one of my projects. Then, a different project in the same solution throws this: An exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll but was not handled in user code Additional information: Could…
Xavier Peña
  • 7,399
  • 9
  • 57
  • 99
0
votes
1 answer

How worked with large shapefile using sharpmap?

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.
Alexandr Yurchuk
  • 103
  • 1
  • 2
  • 10
0
votes
1 answer

SharpMap System.AccessViolationException

I am using SharpMap within a window service. I am using the library to generate a map and then create an image out of it and add it to an Excel file. The code runs within a Quartz.net task. The error happens when I call SharpMap.Map.GetMap() and…
Tomer Cagan
  • 1,078
  • 17
  • 31
0
votes
1 answer

GEOMETRY threw an exception of type 'System.Data.StrongTypingException'

I have an xsd with a DataRow that has a field of type NetSdoGeometry.sdogeometry. When I attempt to get the data, I can retrive all the fields from the table except for one. I get an error for the geometry field and no data. The geometry DOES…
Rob
  • 59
  • 7
0
votes
1 answer

How to convert a DataSet to FeatureDataSet

I am trying to get the geometry data from a dataset to a featuredataset: private void QueryCustomer(DataSet ds) { SharpMap.Data.FeatureDataSet ds_feature = new SharpMap.Data.FeatureDataSet(); ds_feature =…
0
votes
0 answers

SharpMap -Gdal Raster Layer, The type initializer for 'SharpMap.Layers.GdalRasterLayer' threw an exception

I am trying to create a rasterlayer from the example geotiffs. I have downloaded the GDAL native and plugins NuGets. However whenever I run the project it always returns a not very helpful error: "The type initializer for…
ChrisB
  • 53
  • 7
-1
votes
1 answer

Issues loading different shapefiles in given sharpmap tutorial code

I am currently working on sharpmap project with the need to work on offline maps. As i am fresher in this field,I am following the sharpmap tutorial and facing a problem with loading new shape files in the given tutorial code. For Example…
Shreee
  • 1
  • 1
1 2 3
4