Set the projection library environment variable used by mapscript.dllĮnvironment.SetEnvironmentVariable("PROJ_LIB", ProjectionLibraryPath) public string GetFeatureInfoFromWMS(NameValueCollection WMSqueryString) The problem with this is that the call to processQueryTemplate causes an AccessViolation Exception to be thrown. The summary of the code I have so far is here. We cannot use the mapserver cgi implementation so I'm attempting to reimplement this mechanism using mapscript via the C# mapscript mechanism. This processed a html template associated with each queried layer and substituted a number of tokens within the template for data. Prior to using mapscript our software passed WMS requests through to a CGI mapserver hosted on IIS. I'm trying to handle GetFeaturInfo WMS requests using c# mapscript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |