Hosting Open Source Geospatial Services: Infrastructure Choices for Europe

Maps are no longer a separate discipline. Municipalities publish planning layers, research teams share environmental measurements, and companies embed location data in logistics tools. Much of that work runs on open source software, and the question that follows is practical. Where should the servers that deliver those maps live, and what should they be made of?

What an open source geospatial stack needs

A typical stack has three layers. A spatial database such as PostGIS stores the geometry and attributes. A map server such as GeoServer or MapServer publishes them through standard web interfaces, usually the Web Map Service and the Web Feature Service defined by the Open Geospatial Consortium. A web client, often built on a JavaScript mapping library, shows the result to people.

Each layer asks something different of the hardware. The database wants fast storage and enough memory to keep indexes warm. The map server wants processor time to draw images and to reproject data between coordinate systems. The client mostly wants a fast connection and good caching. Hosting that treats all three the same wastes money or leaves one of them starved.

For teams starting out, a cloud virtual server hosted by providers such as Delta.BG is a sensible way to run the whole stack on one machine. When traffic grows, the layers can be split across several servers without rewriting anything, because they already speak through network interfaces.

Why INSPIRE shapes infrastructure choices

Anyone publishing environmental or public sector spatial data in Europe works in the shadow of Directive 2007/2/EC, known as INSPIRE. It requires member states to establish and operate a network of services for spatial data sets whose metadata have been created under the directive, including discovery, view, download, transformation and invoke services.

The text sets expectations that translate directly into hosting requirements. View services must make it possible to display, browse, zoom, pan and overlay viewable data sets and to show legend information. Download services must let people obtain copies of data sets or parts of them. The services have to take user requirements into account, be easy to use, be available to the public and be reachable over the internet.

The directive also says that discovery and view services must be available to the public free of charge, with limited exceptions for view services where charges secure the maintenance of very large, frequently updated data. For an organisation planning capacity, that means public traffic is part of the design from the start, and cost must be modelled around open access.

Even teams that are not formally bound by the directive borrow its structure. Separating discovery from viewing and downloading gives users a predictable interface, and it gives operators a clear way to scale each function on its own.

Metadata sits at the centre of the model. Services that publish data without searchable descriptions are hard to find and hard to reuse, so a hosting plan should leave room for a catalogue service next to the map and download endpoints.

Compute and storage for tiles and queries

Rendering maps on demand is processor intensive, and popular layers are requested again and again. Pre-rendered tile caches turn that repeated work into disk reads, which is why a cache is the first optimisation most operators make. A cache needs fast storage, and a good rule is to keep tiles on the quickest disks available.

Download services behave differently. A request for a large extract of vector data can run for minutes and touch a lot of memory. Put limits on request size, queue heavy jobs, and consider giving them a separate worker so that a single export does not slow every viewer. Object storage suits large raster archives and pre-packaged downloads, since it separates bulk data from the machines that serve it.

Monitor disk usage closely, since tile caches grow without limit unless they are pruned on a schedule. Set expiry times that match how often each layer changes.

Location, latency and data sovereignty in Europe

Where the servers sit matters for users and for rules. Public bodies and research projects often need data to stay inside the European Union, under European data protection rules and with a provider that can show where its infrastructure is. Choosing a provider with data centres in Europe simplifies those conversations.

Latency matters for map interaction. Panning and zooming generate many small requests, and each one feels the distance to the server. Placing the service close to its main audience and using a content delivery network for static tiles keeps the experience responsive. Providers such as Delta.bg operate in south-eastern Europe, which can suit projects whose users are in the region, while a cache in front of the service helps reach the rest.

Ask providers how they handle requests from public authorities and where backups are stored, so that the full data path is clear to your legal team.

Review these arrangements once a year, because providers and rules both change.

Standards matter here as much as geography. Providers that expose clear service levels, documented network paths and recognised security certifications make audits easier for public bodies. Ask whether the infrastructure is certified for information security, how incidents are reported, and whether data can be exported in open formats if you decide to move. Open formats such as GeoPackage and GML keep the data portable, and portability is the best protection against being locked in to any one host.

Operating the service over time

Spatial data changes, and the service has to keep up. Schedule database backups and test restores, because a corrupted spatial index can take hours to rebuild. Keep the software up to date, particularly map servers exposed to the public, since they are frequent targets for automated attacks.

Monitor the service from the user’s side. Request a sample map and a sample feature from outside the network every few minutes, and alert when they fail or slow down. Record what each release changed. Short notes made at the time are worth more than long memories later, and they help the next person who takes over the service.

Plan for growth in both data and audience. A national mapping portal can go from a handful of users to thousands overnight after a news story or a flood warning, so test the service with a load tool before it matters, and agree in advance with the host how extra capacity can be added at short notice.

LEAVE A REPLY