<< Click to Display Table of Contents >> dpPower > Appendix > Configuration options > Tomcat site > Combination products |
Combination products are used when you have created several products and want to display them together and/or in different scale areas.
•Create an empty product.
•Set up included products in the product manager. The products must not contain the same product classes because then it is not possible to know which drawing attributes will be used.
•In tomcat-site\mix_products.conf the combination products are put together.
oEnter the empty product id (product_id)
oEnter the included products (mix_products)
oSet up scale ranges for each product (product.xxx.scale_from=, product.xxx.scale_to=)
oIt is possible to add a product if you have the right database role (product.xxx.required_role=)
•It is possible to add WMSs or other rasters to the combo product but it is configured in tomcat-site\raster_site.conf. The combination product's ID, scale range and whether it should be visible from the start are specified there.
Combination product 12345 containing products 111 (shown in scale 0-3000), 222 (scale 3000-5000), 333 (scale 9000-15000). Product 444 is displayed in all scale areas but is switched off from the start. WMSs are configured as regular raster, see Raster configuration.
[Kombination1] #Kombination Bas-Stads-Tätortskarta product_id=12345 mix_products=111,222,333,444 #Bas,Stad,Tät,Led # --- Baskarta med fastigheter --- product.111.scale_from= product.111.scale_to=3000 ## baskarta-wms 3000-1000000 # visible=FALSE enligt raster_site.conf # --- Stadskarta --- product.222.scale_from=3000 product.222.scale_to=5000 ## stadskarta-wms 5000-9000 # visible=TRUE enligt raster_site.conf # --- Tätortskarta --- product.333.scale_from=9000 product.333.scale_to=15000 ## tätortskarta-wms 15000 - 4000000 # visible=TRUE enligt raster_site.conf prod_class_scale_filter=1122 # --- Ledningar --- product.444.required_role=DB_ROLE product.444.scale_from= product.444.scale_to= product.444.start_visible=off # kan vara "keep", "on" eller "off" och default är "keep". |