Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The two included .dll files must be copied and registered on each client PC, along with the weave link components.

This should be performed using the regsvr32.exe application provided with Windows, e.g.

        regsvr32 pathway.dll
        regsvr32 weavepathway.dll

The Pathway map component, PathMap.ocx, must also be installed on the client, this components is supplied with Pathway. PathMap.ocx should be located at ...\Pathway\Prod\msc\PathMap.ocx in your Pathway installation.

Then the Pathway GIS integration must be configured to use Pathway.COMGIS1 as it's mapping component (weavepathway.dll implements Pathway.COMGIS1 ProgId)

Some versions of Pathway do not allow URL's to be entered for the application executable, as the setup screens in Pathway verify that the application exists and does not allow the details to be saved because the application, which in the case of Weave is a URL, does not exist.

The workaround for this is to specify any application and then change the underlying database table.
The table is called LPAGISP, the columns to update is called EXEPATH, and the records to change is
where the GISCODEFIELD='COMGIS'.

Uninstallation

The installation can be undone by using regsvr32 with the "/u" parametere, e.g.

        regsvr32 /u pathway.dll
        regsvr32 /u weavepathway.dll

And, also removing the PathMap.ocx registration.

Configuration

Linking Entities

Entities in Weave must be linked to one of the four levels, prop, parc, titl and/or strt, in Pathway.

Firstly the pathway namespace must be added to the config.xml header

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns=          "urn:com.cohga.server.config#1.0"
        xmlns:client=   "urn:com.cohga.html.client#1.0"
        xmlns:pathway=  "urn:com.cohga.pathway#1.0">
        ...
</config>

then the pathway configuration must be setup to link the pathway levels with the Weave entities

  <pathway:config>
    <link level="prop" entity="property"/>
    <link level="strt" entity="roads"/>
  </pathway:config>

Client

Once the levels have been created the Pathway related actions can be added to the client.

  <item action="com.cohga.client.actions.menuAction">
    <text></text>
    <iconCls>icon-pathway_pathway</iconCls>
    <item action="com.cohga.pathway.Display" text="Display"/>
    <item action="com.cohga.pathway.SendQuery" text="Send Query"/>
    <item action="com.cohga.pathway.DisplayOther" text="Display Other"/>
    <item action="com.cohga.pathway.SendQueryOther" text="Send Query Other"/>
    <item action="com.cohga.pathway.CreateLink" text="Create Link"/>
    <item action="com.cohga.pathway.Return" text="Return"/>
  </item>

Pathway Configuration

Editing the GIS Product Parameters

Go to the GIS Product Parameter screen

From there edit the Generic COM GIS Interface

You need to set the GIS Layer and GIS Reference Field values for any items you wish to be able to send to Weave





  • No labels