GeoCat Bridge supports the following layer types:
Click on the Publish wizard icon on the Bridge toolbar to open the Publish Wizard dialog.
Note
Before clicking on the Wizard button, please make sure that the map view contains supported feature layers and/or supported image layers. If there are no layers to be published, a warning dialog is shown:
The Publish Wizard shows all the publishable layers in your project.
You can select the layers from the list to publish:
All: selects all the layers in the list.
None: deselects all the layers in the list.
An icon is shown in the corresponding column after the layer’s metadata and/or map data has been published.
In the Publish Wizard dialog the user can for each layer:
An information icon is shown in the first column if the metadata is
incomplete. In this case the metadata can still be published, but is not
valid according to the selected metadata profile. Hold the mouse on the
cell of the Publish column for more information about the empty or invalid
fields. In the image below, the Description
field of
layer sites
is empty.
When publishing to a MapServer server the tab Advanced Layer Options will be visible. Here you can configure Bridge to use the default template to generate the featureinfo response or set a custom one. Note, this feature is only available for MapServer.
The default template generated by Bridge includes all the attributes that have been selected to be published (under the tab Data). For numeric fields Bridge will use the scale (i.e.the number of digits to the right of the decimal point) of that particular field. If the generated template does not contain the desired number of decimals for a particular field, you can:
The character encoding of the template is determined by the .cpg
file that can be bundled with the Shapefile. If Bridge cannot determine the character encoding of a dataset Bridge will set it to “UTF-8”.
The default template can be customized by the user by editing the following files:
[INSTALLATION DIRECTORY]\templates\style.css
[INSTALLATION DIRECTORY]\templates\footer.html
The style.css
will be included as stylesheet in the default template. The footer.html
file will be included below the table element containing the attribute information.
When you finished configuring the properties for all map layers, click on the Publish button to start the publishing process. During this process, a progress bar is shown to indicate the status of the publishing:
When the publishing is finished, a summary of the result is shown:
Note
If a catalogue server (based on GeoNetwork Opensource) is not accessible during the publishing, the following dialog is shown:
Note
A similar dialog is shown when the map server is not accessible or doesn’t have the REST API configured properly:
previews metadata of the selected layer. See Metadata preview.
creates a Web Map Context (OGC-WMC) file with the selected layers to publish. To view the map layers online, the file can be opened using a map viewer that supports WMC documents.
The context menu in the layers list provides a quick access to view the published data:
is shown if the retrieving data from the servers failed.
Click the icon to see the error in details:
removes both the metadata and map data of all selected layers from the publishing server(s).
If you want to withdraw only metadata or map data, you could use the context menu in the layers list: (See :ref:`Context menu <context_menu>`)
Warning
Use this option with caution as the metadata and data are removed from the servers.Note that local metadata and map data are not removed.
Click the Advanced button to customize the publishing options. By default, map data and metadata are published on the default map and catalogue servers.
My Documents
folder. To select another
folder, click button