APOLLO & ECW/JP2 Discussions

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
Highlighted
Regular Contributor
Posts: 189
Registered: ‎03-04-2016

create legacy raster service via Apollo REST API

Hello community,

 

I can't find the correct endpoint to create a legacy raster service using the Apollo REST API.

How can I create raster services (just like we can do for vector services)?

What am I missing?

 

Kind regards

Elodie

Highlighted
Technical Evangelist
Posts: 1,320
Registered: ‎09-11-2015

Re: create legacy raster service via Apollo REST API

Hi Elodie,

 

As per my understanding, there are no API endpoints to work with legacy raster services Smiley Sad

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Moderator
Moderator
Posts: 380
Registered: ‎11-16-2015

Re: create legacy raster service via Apollo REST API

Hi Elodie,

 

Right, only the legacy vector services are available in the API. You might suggest an idea for that feature: https://community.hexagongeospatial.com/t5/Product-Ideas/idb-p/ProductIdeas/label-name/erdas%20apoll...

 

But, there is a workaround: adding manually a new raster provider.

There is a way to do that remotely by using the "clustered providers" option (no need to edit the .fac file each time). So the providers are stored in the database and available immediately after their creation (no need to start the providers). You could therefore simply create a new service using a SQL request.

To enable that, you need to edit the configuration of the providers.fac (and restart Tomcat):

<CONFIGURATION>
<CLUSTER DB="postgresql://localhost:5432/user+myDBuser/password+myPwd/database+myDB" />
</CONFIGURATION>

Then, check the "providers" table to see how is stored a provider so you can do the same with a SQL request.

 

Florent