Thu Oct 13 06:33:38 2016 EDT


We would like to use Grass GIS with our web application to generate a layer with temperature data as gradient image.

Please help us out that how we can achieve this with our web application.


Fri Oct 14 09:51:18 2016 EDT


As far as I know, there is no .NET binding for GRASS GIS currently, but it can be done because the core libraries and modules are mainly written in C. You can check this article to see how MinGW libraries can be invoked from .NET.

Let me understand your use case. You want to generate a temperature layer dynamically in the back end and serve the layer on your ASP.NET web application. Serving the layer can be done as an image or using MapServer. Generating the map can be done without actually binding the GRASS libraries to your .NET code. Remember that GRASS has modules as individual executable programs and also has its core libraries written in C. If you need functionalities of any modules, you have to call the external modules using, for example, System.Diagnostics.Process. If you need more low-level access to the core functions, you would have to use the MinGW binding technique introduced in the above article.

The most important part of all this effort is to initialize environment variables correctly so that GRASS modules and libraries think they’re within a proper GRASS session. You can see what environment variables have to be set in the startup Python script. Once those variables are set in your web application, you should be able to run GRASS modules as if they run inside a GRASS session.

I may be able to create a .NET example in the near future when I have free time.

Best Regards,

Sat Jul 24 20:17:05 2021 EDT

mis10133540uttjr qmsqxaX 26hD hyQ3Y9I

Thu Jul 29 10:15:04 2021 EDT

Regards, I recently came to the CS Store - <a href=>Buy Cinemagraph Pro</a>.
They sell OEM Apple software, prices are actually low, I read reviews and decided to buy <a href=>Autodesk Navisworks Simulate 2021</a>, the price difference with the official shop is 30%!!! Tell us, do you think this is a good buy?
I usually don’t leave reviews, but I had to do this. The service was not like other shops. It was really great.

Please leave this field blank: