The National Register of Boundaries (PRG) is an official reference database that provides the basis for other spatial information systems and uses data concerning administrative units of the country. The PRG covers the area of the whole country and contains information about boundaries and areas of the fundamental three-level administrative division of the country (i.e. communes, counties, and voivodships). In addition to geometric data, each administrative unit is assigned descriptive attributes, such as a unit name or TERYT code.

PRG data is updated every year to reflect the status as at 1 January, pursuant to the legal acts on creation, merging, liquidation, and division of administrative units or changes to their boundaries, or as a result of updates or changes to the Land and Building Registration.

The legal basis for creating, updating, verifying and sharing data, as well as for the scope of information collected in the PRG database is the Regulation of the Council of Ministers of 16 July 2021 on the national register of boundaries and area of administrative units of Poland (Journal of Laws of 2021, item 1373).

The cartographic image of the PRG database is used at line with user requirements (Fig. 1).

Grafika przedstawiająca dane PRG prezentowane w serwisie
Figure 1. PRG data presented at

Availability of PRG browsing services

PRG data can be browsed via WMS services which are by default connected to, these services can also be connected to any software that supports such standard. The key services in this respect include:

Information on all services related to the PRG managed by the Head Office of Geodesy and Cartography can be found in the main menu of under tab „Services / View services (WMS and WMTS)”, as illustrated in Fig. 2.

Grafika przedstawiająca wykaz usług WMS i WMTS związanych z PRG
Figure 2. List of PRG-related WMS and WMTS services

The application of the PRG browsing functionality in QGIS is shown in Fig. 3.

Grafika przedstawiająca dane PRG widoczne w QGIS
Figure 3. PRG data displayed in QGIS

Availability of PRG data for download

PRG data is provided free of charge and can be used for any purpose. There are two ways to download data from jest możliwe na dwa sposoby.

It can be downloaded from the layer tree, specifically by clicking layer „National Register of Boundaries”” under „Data for download”.Turn on this layer and click any area of Poland to access and download the data for the clicked location concerning boundaries of the whole voivodship as well as addresses and streets for communes, counties, and voivodships (Fig. 4).

Grafika przedstawiająca pobieranie danych PRG w serwisie
Figure 4. Downloading PRG data at

Alternatively, you can download the data by going to the service menu and choosing „DOWNLOAD DATA”. Then select „Pobierz dane z usługi WFS” (Download data via WFS) to download vector data (WFS). If you choose WFS, proceed as follows:

  1. Select “Państwowy Rejestr Granic – Jednostki Terytorialne” (National Register of Boundaries – Administrative Units), and then select objects or features to download;
  2. Draw a rectangular box to select the area of interest;
  3. Download data file (Fig. 5).
Grafika przedstawiająca pobieranie danych wektorowych PRG w serwisie z wykorzystaniem usługi WFS
Figure 5. Downloading PRG data in vector format on via WFS

PRG data at is downloaded via WMS:, specifically via the GetFeatureInfofeature which shares the relevant data file from the PRG (i.e. the relevant voivodship package for administrative unit boundaries as well as address packages for communes, counties, and voivodships) for download as an attribute in the clicked location. If you connect this service to any software that supports the WMS standard (e.g. QGIS), you can download PRG data directly in such software (Fig. 6).

Grafika przedstawiająca pobieranie danych PRG w oprogramowaniu QGIS przez usługę WMS
Figure 6. Downloading PRG data via WMS in QGIS

Another service related to the PRG is the Web Feature Service (WFS) which is intended for downloading vector data based on user-defined criteria. GML format is used for data transfer. To access the service, go to:

The image below shows how to define a data source from the specified WFS in QGIS to conveniently add data from this service as a layer in any QGIS project at any time.

Ilustracja dodawania usługi WFS jako źródła danych w QGIS
Figure 7. Adding WFS as a data source in QGIS

Steps illustrated in the figure above allow you to define a WFS-based PRG data source which provides details from the PRG register for use.

Drag the selected data to the project legend to create a thematic layer in QGIS from the displayed data.

Grafika przedstawiająca utworzenie warstwy informacyjnej z usług WFS w QGIS
Figure 8. Creating an information layer from WFS in QGIS

Data connected via WFS is automatically downloaded to your computer, and QGIS has access to all the offered attributes, as illustrated in Figure 9.

Identyfikacja obiektu w QGIS
Figure 9. Object identification in QGIS

If you want to save the data of the information layer to an external file, use the standard export functionality which can be found at each information layer in QGIS (Fig. 10). It allows you to save data in various formats, depending on the layer type.

Grafika przedstawiająca eksport danych z warstwy WFS do zewnętrznego pliku
Figure 10. Exporting data from the WFS layer to an external file