54 questions
Score of 0
1 answer
442 views
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 ...
Score of 1
0 answers
102 views
How to get real coordinates (lat lng) from Map.GetExtent()
Is there a way to get actual top left and bottom right lat lng coordinates from Map.GetExtent() envelope to filter MSSql server database for the available shapes in the region?
I tried many things but ...
Score of 1
0 answers
292 views
Wrap OpenStreetMap at antimeridian using SharpMap
I have a simple SharpMap Map object (WinForms) which contains a TileAsyncLayer (OpenStreetMap using BruTile) within the BackgroundLayers collection.
I would like to have the map either wrap at the ...
Score of 1
1 answer
274 views
How to apply SharpMap.VectorStyle theme on VectorLayer if DataSource is FeatureDataTable?
I tried Vector Layer theme when I used ShapeFile as data source for vector layer. But when I am trying to achieve same thing with custom polygon data it is not working.
Below is the code I used:
...
Score of 0
1 answer
1168 views
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 ...
Score of 1
1 answer
2659 views
How to use 'SharpMap' WPF Control
I want to use SharpMap in a WPF application, however, I can’t figure out how to use this control. This is what I have tried so far, and the dead-ends I have faced.
Using the WPFExample available on ...
Score of 1
1 answer
115 views
.Net 3.5 VS 2008 invalid token 'out' error
I am trying to compile SharpMap for .Net 3.5, I have sorted through most of the errors and the only error I get at the moment is:
Invalid token 'out' in class, struct, or interface member declaration
...
Score of 0
1 answer
1352 views
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 ...
Score of 2
3 answers
3508 views
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....
Score of 0
1 answer
173 views
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 ...
Score of 0
1 answer
440 views
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?
Score of 4
1 answer
865 views
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 ...
Score of 0
1 answer
846 views
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?
Score of 4
1 answer
3519 views
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 ...
Score of 0
1 answer
145 views
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 ...