---
name: "pkegcs"
section: "1"
platform: "linux"
package: "pktools"
version: "2.6.7.6+ds-6+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pkegcs"
---

# pkegcs(1)

Utility for raster files in European Grid Coordinate System

## NAME

pkegcs - Utility for raster files in European Grid Coordinate System

## SYNOPSIS

FC**pkegcs**F\[0\]  \[*options*\]

## DESCRIPTION

**pkegcs** is a utility for raster files in European Grid Coordinate System

## OPTIONS

- FC**-i**F\[0\] *filename*, FC**--image**F\[0\] *filename*

  input image to analyse

- FC**-b**F\[0\] *band*, FC**--band**F\[0\] *band*

  Band specific information

- FC**-c2b**F\[0\] *value*, FC**--cell2bb**F\[0\] *value*

  convert cell code to geo coordinates of boundingbox (e.g. 32-AB)

- FC**-c2m**F\[0\] *value*, FC**--cell2mid**F\[0\] *value*

  convert cell code to centre in geo coordinates (e.g. 32-AB)

- FC**-g2c**F\[0\], FC**--geo2cell**F\[0\]

  get cell code for coordinates in FC**-x**F\[0\] and FC**-y**F\[0\] given the resolution in FC**-dx**F\[0\]

- FC**-ref**F\[0\], FC**--ref**F\[0\]

  get reference pixel (lower left corner of centre of gravity pixel)

- FC**-m**F\[0\] *mask*, FC**--mask**F\[0\] *mask*

  mask value(s) for no data to calculate reference pixel in image

- FC**-dx**F\[0\] *number*, FC**--dx**F\[0\] *number*

  resolution (default: 250)

- FC**-x**F\[0\] *coord*, FC**--x**F\[0\] *coord*

  x coordinate in epsg:3035

- FC**-y**F\[0\] *coord*, FC**--y**F\[0\] *coord*

  y coordinate in epsg:3035
