Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 118
Registered: ‎10-13-2015

Legend Entry with multiple gpkg layers

Hi lukasz.

 

We are creating a test.gpkg file and we are adding multiple raster in the same gpkg file.

 

  • To append an existing "test.gpkg" GeoPackage by adding raster data and choose a name for the raster table, execute following command:

gdal_translate -of GPKG WMS_definition.xml test.gpkg -co APPEND_SUBDATASET=YES -co RASTER_TABLE=new_table -co TILING_SCHEME=GoogleMapsCompatible 

 

Our questions are:

 

  • Is possible configure only 1  legend entry in the Mobile SDK legend and show/hide automatically all the rasters in the gpkg.
  • Have you a json configuration example

 

 

Polls
Please register to vote
Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.