GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Staff
Posts: 111
Registered: ‎01-13-2017

Problem adding Raster / Images in GMSC

Hi Team,

 

I have installed GMSC v16.5.240.3 with Postgres v9.6.4 with PostGIS v2.3.3.

 

I am trying to add a satellite image as one of the layer in GMSC. For this, I inserted the Satellite Image in the database using GeoMedia Desktop and added in GMSC using Database option.

 

After adding the image in GMSC, I clicked on "Test settings" and it is giving me an error message saying "Unexpected error."

 

I also tried by pushing the image in MSSQL Server v2014 and got the same error.

 

Log file is attached here for your reference.

 

25.06.2018 17:10:51 ERROR - Controller Feature has raised an exception in Action TestSettings.
Intergraph.Emea.Maps.MapSourceQueryException: Cannot perform query on Map Source.
   at Intergraph.Emea.Maps.MapSource._Query(Geometry queryGeometry, BoundingBox mapRange)
   at Intergraph.Emea.Maps.MapServerImpl.CreateMapOutput(MapLayer layer, Double leftBoundary, Double bottomBoundary, Double rightBoundary, Double topBoundary, MapOutputSettings outputSettings)
   at Intergraph.Emea.SmartClient.Administrator.FeatureController.TestSettings(Feature feature)
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
   --- Inner exception ---
System.TypeInitializationException: The type initializer for 'Intergraph.Emea.Maps.RasterOutput' threw an exception.
   at Intergraph.Emea.Maps.RasterOutput..ctor(IEnumerable`1 sourceRaster, BoundingBox mapRange, MapOutputSettings outputInfo)
   at Intergraph.Emea.Maps.SpatialDbMapSource.QueryRasterData(Geometry mapRange)
   at Intergraph.Emea.Maps.MapSource._Query(Geometry queryGeometry, BoundingBox mapRange)
   --- Inner exception ---
System.TypeInitializationException: The type initializer for 'Intergraph.Emea.Maps.GdalConfiguration' threw an exception.
   at Intergraph.Emea.Maps.GdalConfiguration.ConfigureGdal()
   at Intergraph.Emea.Maps.RasterOutput..cctor()
   --- Inner exception ---
System.TypeInitializationException: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
   at OSGeo.GDAL.GdalPINVOKE.SetConfigOption(String jarg1, String jarg2)
   at OSGeo.GDAL.Gdal.SetConfigOption(String pszKey, String pszValue)
   at Intergraph.Emea.Maps.GdalConfiguration..cctor()
   --- Inner exception ---
System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..ctor()
   at OSGeo.GDAL.GdalPINVOKE..cctor()
   --- Inner exception ---
System.DllNotFoundException: Unable to load DLL 'gdal_wrap': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_Gdal(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
   at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..cctor()

 

Regards,

Shashank Mathur