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.
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.
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.
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.
I want to create/build a GIS map using Aspose.GIS: github.com/aspose-free-consulting/projects/issues/89