Hexagon Geospatial
MENU

ERDAS APOLLO & ECW/JP2

Wondering how others have configured their ERDAS APOLLO server or what data they are crawling? The ERDAS APOLLO Discussion board is a place to find information, share ideas and more. Join the community, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 68
Registered: ‎03-08-2017
Accepted Solution

Data Manager 2015 Defaut Values Null Values

Hi there,

 

Is it possible to change the default value of NULL Values property in Data Manager 2015 ? We'd like to automate a crawling job but set this value automatically.

 

I've checked in the database but I can't find the table.field where it is stored.

 

Thanks

Staff
Posts: 126
Registered: ‎05-31-2016

Re: Data Manager 2015 Defaut Values Null Values

[ Edited ]

The value you need to change is backgroundValue in C:\Program Files\Hexagon\ERDAS APOLLO\config\erdas-apollo\providers\coverage\im-providers.fac

in the EAIM service

 

<CREATE ID="EAIM" JCLASS="com.ionicsoft.wmtmap.provider.coverage.HierarchicalProvider">

...

    <PARAM NAME="backgroundValue" VALUE="0"/>

 

 or it can be changed here

Capture.JPG

 

Then restart Tomcat

 

 

More information describing the other WCS Provider Parameters is available here

https://hexagongeospatial.fluidtopics.net/reader/3rX2Rf~XpgzYLMH8aG8gEw/x8LHrcm3eGD08VNGDwV4TA

 

Contributor
Posts: 68
Registered: ‎03-08-2017

Re: Data Manager 2015 Defaut Values Null Values

Hi,

 

I can see in the help file :

 

NULL Values - The NULL VALUE, or 'No Data' value, is the transparency value of underlying raster datasets. ERDAS APOLLO uses that value to understand what pixels in the data grid should be considered as transparent. That value is set to 0 by default, but you can change it if the underlying datasets use another pixel value as 'NULL VALUE'

 

I'd like to change the default value.

 

I want to change it at the Catalog level ... not at the services level.

 

Where is it stored/read ?

 

Thanks

Staff
Posts: 126
Registered: ‎05-31-2016

Re: Data Manager 2015 Defaut Values Null Values

As I suggested in my previous post, changing the "Null value" for the service in the Data manager or BackgroundValue in the XML configuration file will change the Default Null value for any new aggregate.

 

If you wish to change existing Aggregate Null values, the best way is to do a batch update with the Data Manager.

Contributor
Posts: 68
Registered: ‎03-08-2017

Re: Data Manager 2015 Defaut Values Null Values

[ Edited ]

Phil,

 

how would I specify no transparency at all ?

 

As stated in the help file :

 

Aggregate

  • 0 if black is the transparency color
  • 255 if white is the transparency color
  • 256 if no color should be set as transparent.

I tried specifying 256 but I still see transparent pixels as if it defaulted to 0. I also tried with a random value (111) to verify that the setting is effective.

 

256 :

256NullValues

 

0:

0NullValues.PNG

 

111:

111NullValues.PNG

 

 

Thanks

 

Staff
Posts: 126
Registered: ‎05-31-2016

Re: Data Manager 2015 Defaut Values Null Values

Try -1 for no transparency.
Contributor
Posts: 68
Registered: ‎03-08-2017

Re: Data Manager 2015 Defaut Values Null Values

[ Edited ]

Phil,

 

thank you very much for your answer.

 

-1 keeps the white transparent.

 

We tried with -5 (randomly) and now transparency is removed.

 

Thanks

 

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.