Questions tagged [proj]

PROJ is a cartographic projections and coordinate transformations library

PROJ is an open-source coordinate transformation software that transforms geospatial coordinates from one coordinate reference system (CRS) to another. This includes cartographic projections as well as geodetic transformations.

Resources

256 questions
0
votes
1 answer

Convert stereograhic projection to epsg 28992 with GDAL

I am trying to use gdalwarp to project a polar stereographic image to a mercator projection epsg 28992 (for use in leaflet) gdalinfo "HDF5:\"RAD_NL25_PCP_NA_202010271205.h5\"://image1/image_data" Driver: HDF5Image/HDF5 Dataset Files:…
Marijn
  • 5
  • 3
0
votes
0 answers

Assigning a CRS to RaterBrick in R

I tried converting this df (c.data) to a RasterBrick and set the crs to EPSG:3035; Lambert Equal Area Europe with the code. The code creates the raster, but it does not set the CRS c.data # A tibble: 361,478 x 6 x y pop women…
OLu
  • 63
  • 1
  • 4
0
votes
1 answer

Split string considering brackets - R

I would like to edit string in R while taking in consideration opening and closing brackets. The character vector is a WKT reference of coordinate system like used in rgdal, sp, all of them using PROJ library. The original string is structured with…
Adrien
  • 157
  • 8
0
votes
1 answer

Plot global projected raster in R

I'm trying to plot a global (lon:-180- 180; lat -90- 90) raster in Equal Earth projection (doesn't matter - could be Winkel Tripel or Robinson) but the boundaries duplicate on both sides (see figure). How can I avoid this? This SO question and this…
Alex
  • 504
  • 3
  • 10
0
votes
1 answer

Installing cdo - libproj13 is missing

Dear proj and cdo specialists, I am trying to install cdo (climate data operator) on Ubuntu 18.04. I have gdal 3.0.0 and proj 7.0.1 installed. There are some missing dependencies which cannot be installed. It boils down to the point where it says…
przell
  • 11
  • 1
0
votes
1 answer

Multiple values for AfterTargets in .proj file

One of my projects has Exec Copy command to copy a file from one directory to another. We are intermittently seeing an issue where one of the process is locking a file and MsBuild is trying to execute a copy command on the same file. So, we are…
om dev
  • 1
  • 2
0
votes
2 answers

gdal 3.1 wants PROJ 6 symbols but my PROJ version is 7

I'm trying to build gdal3.1 on my mac because brew only has version 2.4.4.6. I have PROJ 7.0.1 on my mac. When I run ./configure for gdal 3.1 it ends with the error: PROJ 6 symbols not found. What is needed to fix this?
JerryN
  • 2,356
  • 1
  • 15
  • 49
0
votes
1 answer

how to implement Equal Earth Projection in map and raster in R?

I wonder if anyone knows how to implement the Equal Earth Projection for a map and a raster in R? I found this tutorial: https://rud.is/b/2018/09/28/quick-hit-using-the-new-equal-earth-projection-in-r/ But I cannot replicate it. It seems the…
Camilo
  • 153
  • 7
0
votes
0 answers

How to change projection proj=laea to longlat using spTransform without deforming the map?

I have a dataset with lat/long that I intend to plot over a map of NA rivers. The issue I am having is with the projection of the map. The shapefile I am using is a proj=laea and when plotted with ggplot the axes are in UTM(?) rather than lat/long.…
mchen
  • 31
  • 1
0
votes
1 answer

How to remove shapes that cause a problem upon reprojection from a geopandas dataframe?

In this geopandas example, the Antarctica land mass is dropped from the GeoDataFrame before reprojecting to the Mercator projection, in order to prevent problem with shapes containing a pole (which would become infinitely large). I was wondering, if…
ElRudi
  • 2,122
  • 2
  • 18
  • 33
0
votes
0 answers

How to show the routes on the map using coordinates using Ordinance Survey map leisure layer

Here i want to create a map using ordnance survey leisure layer. Ordnance Survey (OS) is the national mapping agency for Great Britain. They produce digital map data, online route planning and sharing services and mobile apps, plus many other…
0
votes
1 answer

Cartopy Installation issues

I have a problem installing cartopy. I installed all the dependencies that are required to install it, however, when I try to install it from project interpreter > pip, it gives the following errors. setup.py:168: UserWarning: Unable to determine…
MAAHE
  • 169
  • 6
0
votes
1 answer

Cartopy: coastlines() and contourf() interfering

I'm trying to migrate from Basemap to Cartopy looking demo examples. I have a simple code using both coastlines() and contourf(). I can get both separately but not simultaneously. The data set is a netcdf file containing the sea surface temperature…
user1259970
  • 333
  • 3
  • 14
0
votes
1 answer

Swift - Coordinate Transformation from EPSG:4326 to 3857

I would like to know a Swift library or method that I can use to convert from 4326 to 3857. I have referred some libraries such as Proj4Swift and Proj.4, but to no avail. The first link does not has a workable download and the second does not has a…
Curiosity
  • 1,753
  • 3
  • 25
  • 46
0
votes
2 answers

Fail to install basemap 1.2.1 with conda due to package conflicts, how to resolve?

I installed Basemap on Conda (Win 10 64, Python 3.7.3) in a non-root environment but I ended up with the problem that there is no epsg in the proj folder. Following the advice from github I found out I had version 1.2.0 and tried to install 1.2.1…
Khris
  • 3,132
  • 3
  • 34
  • 54