How can I use SharpMap with ASP.NET MVC 3 ?

Oct 2, 2011 at 7:08 AM

How can I use  SharpMap with ASP.NET MVC 3 ?

Oct 6, 2011 at 6:40 PM

Is it possible ?

Oct 19, 2011 at 8:29 PM

This is my question too, please someone answer!

Also I need to load one layer form MapServer 1, and one layer from MapServer2 and some layers based on querying my database. Is this scenario supported?

Coordinator
Oct 19, 2011 at 8:35 PM

It's sure possible to use it...

How do you want to use it?
If it's the client functionality you want i would recomment implementing the client with OpenLayers and using SharpMap as WMS-server.

I've successfully used SharpMap as WMS-backend both by implementing av WMS-Controller and by using the standard GenericHandler functionality of sharpmap (se till DemoWebSite and WMS.ashx) 

 

 

Developer
Oct 20, 2011 at 6:44 AM

Maybe you wanna take a look here:

https://sharpmap.svn.codeplex.com/svn/Branches/0.9-GeoJSON

there are some trivial samples about how to use sharpmap as WMS server, queried by a openlayers client in MVC

Oct 20, 2011 at 4:45 PM

Hi

I have some experiences with Map Server; using SharpMap as a WMS Server

1: Is it possible to talk to it from a remote machine, by web service, or other technologies?

2: Is it able to handle huge amount of data, like 1 GB. I am working on a University project and we have about 3 GB of earth observation data every week!?

If possible please send me a sample app that uses SharpMap as a server

Thanks

Javad

Developer
Oct 21, 2011 at 6:30 AM

1: Is it possible to talk to it from a remote machine, by web service, or other technologies?

Server-side you have full .NET framework, so you may do everything you want.

2: Is it able to handle huge amount of data, like 1 GB. I am working on a University project and we have about 3 GB of earth observation data every week!?

From my experience, sharpmap is fast as mapserver: if your database (I assume you're storing your data in a database) is fast running queries, sharpmap renders fast enough.

>If possible please send me a sample app that uses SharpMap as a server

Take a look at the branch.

If you need some specific need, please add more info (what db you're using, what kind of webservice you may call, ecc...)

Feb 24, 2014 at 5:09 AM
how to connect my own database in https://sharpmap.svn.codeplex.com/svn/Branches/0.9-GeoJSON sample
I am using postgres/postgis and I want to use my own database to run in that sample

thanks in advance
Developer
Feb 24, 2014 at 6:21 AM
maccharlesagbon wrote:
how to connect my own database in https://sharpmap.svn.codeplex.com/svn/Branches/0.9-GeoJSON sample
I am using postgres/postgis and I want to use my own database to run in that sample
Are you experiencing some troubles with the default method? See an example here: