18.11.2012 Views

Geomatica WebServer Installation Guide.book - UNBC GIS / Remote ...

Geomatica WebServer Installation Guide.book - UNBC GIS / Remote ...

Geomatica WebServer Installation Guide.book - UNBC GIS / Remote ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3 - Configuring the Servlet for the Web Feature Service (WFS)<br />

Table 1: Properties for Configuration and Initialization<br />

Property Description and Default Values<br />

wfs.matching.<br />

layer.name.action<br />

wfs.invalid.characters.<br />

action<br />

The<br />

wfs.share.matching.layer.name.action<br />

determines the result when the WFS<br />

servlet detects identically named layers<br />

in the data sources. When the servlet<br />

detects duplicate names, the options are:<br />

exception: It produces an error<br />

message.<br />

ignore: It publishes the first layer and<br />

ignores the remaining layers with<br />

identical names.<br />

mangle: It appends sequential numbers<br />

to duplicate names starting with number<br />

1.<br />

The default is mangle.<br />

The wfs.invalid.characters.action<br />

property determines the result when the<br />

servlet encounters a name that contains<br />

characters that are incompatible with<br />

GML such as spaces, tabs, and<br />

punctuation marks. When the servlet<br />

detects an incompatibility, the options<br />

are:<br />

exception: It produces an error message<br />

and prevents the servlet from starting.<br />

This option is useful to identify names<br />

that do not follow the GML naming<br />

convention.<br />

ignore: It creates GML with XML tag<br />

names and attributes that are not valid<br />

nor well formed.<br />

mangle: It converts the name into one<br />

that is compatible with GML.<br />

The default is mangle.<br />

Table 1: Properties for Configuration and Initialization<br />

Property Description and Default Values<br />

wfs.bad.file.action<br />

wfs.transaction.allow<br />

The wfs.bad.file.action property<br />

determines the result when the servlet<br />

encounters a file that cannot be read<br />

such as when the file is corrupted or uses<br />

a file format that is not compatible with<br />

<strong>Geomatica</strong>.<br />

exception: It produces an error message<br />

and prevents the servlet from starting. If<br />

a user tries to access this WFS via an<br />

HTTP request, the server produces an<br />

exception message stating that an<br />

unusable file was detected.<br />

ignore: The unusable file is not<br />

published.<br />

The default is ignore.<br />

The wfs.transaction.allow property<br />

defines the read/write property of the<br />

publishable files on the WFS servlet. The<br />

files remain read-only in the <strong>Geomatica</strong><br />

WFS client even if this property is set to<br />

“true”.<br />

false: files are read-only<br />

true: files are read/write enabled<br />

The default is false.<br />

24 PCI Geomatics

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!