Stereographic projection: gaps at the poles and hiding labels

Hello,

I am working on a stereographic map projection that covers both the North and South Poles.
When using your maps, I encounter an issue: gaps appear exactly at the pole points (latitudes 90° and –90°).

Could you please advise on how to fix this problem? I need full coverage of the area.
I also have a question about hiding country borders, country names, and city names. Is there a technical way to do this?

Are these gaps circles out to 85° latitude? If so you are probably using Mercator at some point.

Can you say more about what you’re using? Is it a raster or vector tile layer?

1 Like

Yes, you’re right. The issue appears at 85 degrees latitude. Could you tell me what I can use to work around this limitation? Perhaps you could provide some documentation on how to implement a stereographic projection.

I am using OSM raster tiles.
The core idea of my work is that I have coordinates that define the center of the stereographic projection, and the map is drawn around that center. Since that point can be the North Pole itself, I need to render it properly.

Specifically regarding the labels: unfortunately the OSMF-hosted Standard tiles come with labels baked into the images and there isn’t any way to remove them. There are probably alternative no-labels tile layers out there, but the more common approach these days is to use vector tiles, so that a stylesheet can hide the labels dynamically on the client side.

Good. I started doing this myself not so long ago. And I don’t have much experience working with maps and projections. But I need to figure this out as soon as possible. I would be very grateful if you could guide me in the right direction.

I am creating a stereographic map centered on a given point (a station). Standard OpenStreetMap (OSM) raster tiles are used as the base layer. OpenLayers, using the proj4 library, reprojects these tiles on the fly from their original Web Mercator projection (EPSG:3857) into a custom stereographic projection.

If you are OK with the very different styling capabilities of vector tile renderers and don’t mind potential distortions in some cases, then client-side reprojection might be an option, saving you the trouble of publishing custom tiles. For example, MapLibre has a built-in vertical perspective projection mode that works with standard Web Mercator tiles. I don’t know if OpenLayers had an equivalent option.

The reason I need to support a stereographic projection is to preserve the true scale at the central point of the map (the station location). In short, I take satellite images and overlay them onto the map, creating a real-time satellite view of the planet with specific post-processing effects. I already use the Mercator projection and a 3D globe, but this is a different approach.

Qgis would be a good place to start for an interactive solution. It will be able to handle different projections.

For a programmatic solution, your best option might be old-school mapnik, which can handle arbitrary projections. I can see some Github projects using mapnik for polar maps.

An AI-enabled search was giving sensible suggestions.