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
11
votes
5 answers

Random error: Attempted to read or write protected memory

We have a C# .Net application using WCF services. And the application is deployed in our production server under a Windows Service Application. One part of the module is responsible for creating shape files ((*.shp, *.dbf) for a smaller area the…
franklins
  • 3,710
  • 6
  • 41
  • 56
4
votes
3 answers

.NET library for geodata, mapping

We have a web-based application with a mapping component (ASP.NET/SQL Server 2005, Google Maps API). The mapping component is evolving - it started out as a simple, nice-to-have feature and is gradually becoming more of a cornerstone of the…
Herb Caudill
  • 50,043
  • 39
  • 124
  • 173
4
votes
1 answer

How to render image of a country on a globe using sharpmap

I have a list of region borders inside SQL database and i am using sharpmap to render thumbnail images for every country i need. It works really well. But I would like to go one step further and add a small globe around it and position country on…
Robert
  • 3,353
  • 4
  • 32
  • 50
4
votes
1 answer

Converting EPSG:4326 projection to EPSG:3857 mercator

I am using sharpmap to render borders (geometry) from MSSQL as PNG image. It all works well, except countries are looking too "wide" on flat image format. As I understand, I need to create transformation to EPSG:3857 projection, but I have no idea…
Robert
  • 3,353
  • 4
  • 32
  • 50
4
votes
0 answers

SharpMap Selecting Geometry with GeoAPI.Geometries

hi there i'm trying to create a function that will select a layers geometry and change its colour or highlight it. I've found the FindGeoNearPoint function but this deals with the old SharpMap.Geometries whih no longer exists and has been replaced…
psycho
  • 1,539
  • 4
  • 20
  • 36
3
votes
2 answers

Creating New layers in SHARPMAP

I'm working on sharpmaps, Say i have a map of US , how to add new layers over the maps ? As i need to write the name of the state over the basic layer and color each state with different colours. Is it possible to achive this goal in Sharpmaps...?
gout
  • 802
  • 10
  • 32
3
votes
2 answers

BruTile Getting Started

Is there any documentation on how to get started with BruTile please? I am currently working with SharpMap and I need to pre cache tiles to speed up the process
Klstwj
  • 35
  • 1
  • 6
3
votes
1 answer

ARCGIS tiles to coordinates

I'm trying to develop my own map service then display my generated images into ARCGIS map viewer ... Anyway my *.ashx service reads ARCGIS Tile URL looks like…
Gerard
  • 65
  • 1
  • 6
3
votes
2 answers

SharpMap and Entity Framework: The invoked member is not supported in a dynamic assembly

I am using sharp map inside a custom "map widget" component. To populate the map, I want to use the entity framework, which is inside a seperate DLL. This works fine if I create a map, and then get the data. public void loadMap() { var map =…
berkeleybross
  • 1,314
  • 2
  • 13
  • 27
2
votes
1 answer

Gis programming with SharpMap. The last layer covers the others

I'm just started with GIS programming. I want to build a simple website with a map on it. So, I choose C# and SharpMap as map lib. Everything works fine, until I add many layers from shape file. The last layer I add is the only one layer I see. This…
Khoa Le
  • 372
  • 2
  • 9
2
votes
3 answers

How to convert BLOB data stored in SQLite database into the SharpMap.Geometries.Geometry

I have geometry data stored in the SQLite database, and datatype of column is BLOB. I used the below method to convert the BLOB data into the sharp map geometry SharpMap.Converters.WellKnownBinary.GeometryFromWKB.Parse(< byte array >); But it…
pankaj
  • 207
  • 6
  • 18
2
votes
1 answer

Why is sharpmap returning inconsistent results while mapping from point to polygon?

I am using a shapefile(shp) that has an addition field called "ID". The shapefile is clean and does not have any overlapping polygons. When I pass this shapeFile to the following function, I keep getting inconsistent results. (The Id returned is not…
KnightFox
  • 3,132
  • 4
  • 20
  • 35
2
votes
1 answer

Simple SharpMap example to create shape file

I'm looking to create a simple shape file using sharpmap (or some other library if it's easy/free). I want a shape file with just some lat/long points on it. I can't find a simple working example using sharmap v2 that actually can compile. I don't…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
2
votes
0 answers

Display Shapefiles in Google Maps

I'm trying to display a Shapefile in Google Maps with the library SharpMap. I'm using ASP.NET MVC4. This is my controller: public class HomeController : Controller { public ActionResult InitSharpFiles() { SharpMap.Layers.VectorLayer…
Ronald Meijboom
  • 1,534
  • 3
  • 17
  • 37
2
votes
2 answers

RPM-Build -How to print error message at rpm install at client

my requirement is that i want to print some message on screen if rpm install fails in any case at client machine.or display message on screen like rpm install fail due to any of the generated reasons.like other standard rpm gives. and i am not…
meet patel
  • 181
  • 1
  • 2
  • 17
1
2 3 4