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
Community Manager
Posts: 292
Registered: ‎02-08-2016

Re: Error loading raster feature classes

Hello All.

 

I thought I should mention that the workaround, with out installing Oracle Client, would be to get a copy of OCI.dll and copy it into the GeoMedia SmartClient\Program\GDAL\x64\plugins directory.

The OCI.dll is available in by various means and I haven't included it here as I beleive the license does not allow for the redistribution.

 

Thanks,

Marc

 

 

Highlighted
Regular Contributor
Posts: 190
Registered: ‎11-17-2015

Re: Error loading raster feature classes

Hello, I have the same problem than Nuno on customer side.

We are working on windows Server 2008 R2 / GMSC 2016 / Oracle 11g .

Same error for ECW and JPEG raster feature classes. Those feature classes have been created by GeoMedia.

 

Is there a solution? Nuno, did you solve your problem?

 

Thank you.

Yohann.

Highlighted
Staff
Posts: 1,100
Registered: ‎10-18-2015

Re: Error loading raster feature classes

Hi Yohann,

 

does your error say 

 

"System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values."

 

? In that case I have the impression is related to the BBOX...

 

ciao,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Highlighted
Regular Contributor
Posts: 190
Registered: ‎11-17-2015

Re: Error loading raster feature classes

Yes, this is the message.

Do you mean this is related to MDSYS metadata?! which BBOX? In GMSC feature definition?

NB: It works on my plateform. The only difference I see for now is that they are using GeoMedia 6.1 for inserting raster in Oracle and I am using 2015/2016.

 

Thank you.

Highlighted
Staff
Posts: 1,100
Registered: ‎10-18-2015

Re: Error loading raster feature classes

it might be related in reading oracle metadata. Can you check if the oracle user can read user_sdo_geom_metadata view?

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Highlighted
Regular Contributor
Posts: 190
Registered: ‎11-17-2015

Re: Error loading raster feature classes

Connecting with the schema owner (the one used to define feature in GMSC), we can see the user_sdo_geom_metadata:

 

ORTHOPHOTO_2011

GEOMETRY

SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -2,147E+09, 2147483647, ,000005), SDO_DIM_ELEMENT('Y', -2,147E+09, 2147483647, ,000005))

      3945

 

No difference with the vector data meatadata.

Everything have been created though GeoMedia.

 

Yohann.

Highlighted
Staff
Posts: 1,100
Registered: ‎10-18-2015

Re: Error loading raster feature classes

could you please try by changing the precision? It is quite strange definition in my opinion.

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial