Skip to main content

New answers tagged

1 vote

Can GeoTools parse GML CRS definitions?

Apache Spatial Information System (SIS) can read GML definitions of CRS, for example using CRS.fromXMl(String). There is also other methods working with input streams or XML sources. The parsed CRS ...
Martin Desruisseaux's user avatar
2 votes
Accepted

Importing layer data to QGIS from UMAP and converting it into correct Coordinate Reference System

The longitude values are in a -360 to 0 range, rather than the usual -180 to +180 range. Add 360 to each longitude value and that should line up the data properly.
mkennedy's user avatar
  • 19k
1 vote
Accepted

Finding the right Projection/CRS for a 2000's era shapefile of Bosnia Herzegovina

Best I found is modified EPSG:8678 MGI 1901 / Balkans zone 6 with different origin and added datum. It seems to work. Checked in QGIS as Custom CRS using Proj.4 notation: +proj=tmerc +lat_0=0 +lon_0=...
Ondro's user avatar
  • 126
1 vote

How are EGM96 and WGS84 related to each other?

As far as I understand the EGM96 defines the Geoid, where as the WGS84 Standard defines the Ellipsoid. How are EGM96 and WGS84 related to each other? Short answer They are related by the geoid. EGM96 ...
mins's user avatar
  • 257
0 votes

Segmentation label/ masks for GIS data

When you use e.g. rasterio.rasterize, this is dealt by the rasterize function. You only need to pass the transform to the function. Something like this: mask = features.rasterize( ((g, 255) for g, ...
Pieter's user avatar
  • 3,134
0 votes

How to set projection for Pacific-centered raster

Solved this issue with some Python using rioxarray package. The code will open the .nc file with the raster, then convert extent from (0,360) to (-180,180). import rioxarray import xarray as xr ...
tony_c_graphics's user avatar
1 vote

Incorrect distances when measuring on QGIS, leading to buffers and density maps being much larger

Looking at the x and y value displayed in the mesure tool it seem that your data are still on a geographic system so your reprojection step didn't work or you made an error at some point. To fix that :...
J.R's user avatar
  • 16.6k
3 votes
Accepted

Displaying two different layers in the same coordinate systems in QGIS

The problem seems to be a CRS issue: you probably (wrongly) changed the layer's CRS what you should never do if you're not really 100% sure what you do: see here for details. Whenever a layer does not ...
Babel's user avatar
  • 73.1k
3 votes

Detecting actual CRS when coordinate in WGS84 is known

The only way really is to try all possible projection codes until you hit one that matches close enough. In python, you'd have to loop over a few thousand EPSG:abcde strings, and make sure you catch ...
Spacedman's user avatar
  • 65k
0 votes

QGIS custom CRS changes negative eastings to positive westings

As a general rule: load an existing projection and modify it. Copy the CRS definition from the existing one, then in the Options -> User Defined CRS settings create a new CRS and paste the CRS ...
Babel's user avatar
  • 73.1k
0 votes

Location from which QGIS reads datum transforms

"QGIS is checking the areas of validity when it shows items in the UI." The transformation (https://epsg.org/transformation_1105/Adindan-to-WGS-84-6.html) is valid in Senegal but the Adindan ...
Luigi's user avatar
  • 41
2 votes

Reprojecting vector layer does not reproject in QGIS 3.36.0

This seems to be a bug in 3.36.0 - I could reproduce it on another system. I solved the problem by updating the the newest point release, QGIS 3.36.3. There, reprojection works as expected.
Babel's user avatar
  • 73.1k

Top 50 recent answers are included