3.2 Konfigurationsvariable og opsætning

<< Click to Display Table of Contents >>

Navigation:  Kapitel 4 - Installation og konfiguration - CONNECT >

3.2 Konfigurationsvariable og opsætning

Konfigurationsfilen viswms.cfg indeholder de relevante konfigurationsvariable:

 

VISWMS_PAR

Definerer sti for placering af konfiguration af WMS-tjenester.

VISWMS_USERPAR

Definerer sti for placering af brugerindstillinger

VISWMS_LV

Angivelse af lagnummer og lagnavn i MicroStation.

VISWMS_PRIO

Prioritering af rasterbilledet i MicroStation.

VISWMS_CFG_FILES

Definerer WMS tjeneste fil der skal indlæses

 

Eksempel på opsætning:

 

# Placering af opsætningsfil med URL til WMS-tjenester

VISWMS_PAR = $(LIFA_TOPDIR)VisWMS/VisWMS_ALLE.xml

 

# Brugerindstillinger

VISWMS_USERPAR = $(LIFA_PARDIR)$(LastDirPiece (VISWMS))/$(LIFA_PAR_SUBDIR)/VisWMS_$(USER).xml

 

# Angivelse af lagnummer og lagnavn i MicroStation

VISWMS_LV = 80 LIFA VisWMS Kort

 

# Prioritering af rasterbilledet i MicroStation (afhænger af flere parametre - 2D/3D og preferencer)

VISWMS_PRIO = 0

 

# Opsætning af WMS tjenester (fordelt på flere filer)

# Hvis VISWMS_CFG_FILES er defineret indlæses de .xml filer der er tilføjet. Desuden bliver VISWMS_PAR ikke benyttet.

 

VISWMS_CFG_FILES = $(VISWMS)VisWMS_COWI.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_DAI.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_GEUS.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_SDFE_KF.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_ERST_VIND.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_SDFE_DATAFORDELER.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_KUAS.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_PLF_SUT.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_PLANDATA.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_LIFA.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_FVM.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_ENERGINET.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_OSM.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_VEJDIR.xml

VISWMS_CFG_FILES > $(VISWMS)VisWMS_AWS.xml