Skip to content

aspose-free-consulting/Create-GIS-Map-in-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Draw Layers on Web from SQL Server

This Asp .Net MVC web application draws a map on the web page. The spatial layers are loaded from SQL Server. And we are using Aspose.GIS to implement this functionality.

System Requirements and Notes

We need to establish an environment where MS SQL Server is installed.

Once the MS SQL Server is ready, a database is to be created. You may create this database using Microsoft SQL Server Management Studio.

Note, we need to replace the connection string (see DefaultController.cs). Also, the application creates two new tables (Building, Shops) in the database, but you can use any others.

ScreenShots of Usage

Below is the main screen of the application which shows the result.

  • We load layers from the database (for more details see this link)
  • The first layer is drawn with black dots using the default style
  • The second layer is painted with colored dots using a custom style. Also, we have displayed labels for the second layer.

After

Interested in Aspose free consulting project?

If you are also interested in a free consulting project by Aspose team then please view details on this page

If you have any questions about Aspose APIs, please feel free to post your query in Aspose file format APIs Forums.

Also, you can keep in touch with the latest developments in file format APIs offered by Aspose at our Blog.

This free consluting project is based on the following issue:

I want to create/build a GIS map using Aspose.GIS