---
title: "GZIP-compressed Geometries"
slug: "guide/configuration/server-start-up-file/gzip-compressed-geometries"
sidebar:
  order: 47
---

<a id="ref-b7476fbdc90f"></a>
<a id="ref-5672499c94ef"></a>

If a geometry file format has been selected for compression (based on its file name extension), the geometry export creates, in addition to the original geometry file, a second compressed file that has the same name as the original file, but with suffix `.gz` added.

The following two properties can be specified in the server start-up file to control compression of generated geometry files:

## Synopsis

`egr.eai.server.export.gzip.level=<level>`

**Default Value:** `0`

`Level` must be an integer between zero and nine, both inclusive. Compression is disabled (no compressed file will be generated) if the specified level is zero. Otherwise, `level` controls the speed of compression, whereas 1 indicates the fastest and 9 the slowest compression method. Obviously, the slower the compression method, the better the compression ratio will (usually) be.

## Synopsis

`egr.eai.server.export.gzip.extensions=<extension-list>`

**Default Value:** empty

`Extension-list` must start with an optional plus sign (`+`), followed by zero or more file extensions separated by comma (`,`), with each file extension consisting of a period (`.`) followed by one or more US-ASCII letters or digits. US-ASCII white space in front of the plus sign and around extensions is ignored.

The server start-up file may contain multiple occurrences of this property. If so, the second and subsequent ones should probably start with a plus sign as the plus sign causes subsequent extensions to be added to the current set of extensions (a non-empty extension list that does not start with a plus sign clears the current set of extensions).
