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
35
votes
7 answers

Using pip install to install Cartopy but missing Proj version at least 4.9.0

It seems that I cannot get pip to install Cartopy on my computer. I work straight from the windows command line (no Anaconda or other proxy programs). When I try "pip install cartopy" I get the expected: C:\Users\Justin\Documents\Python…
Justin Jones
  • 361
  • 1
  • 3
  • 7
23
votes
2 answers

How to properly plot projected gridded data in ggplot2?

I've been using using ggplot2 to plot climatic gridded data for years. These are usually projected NetCDF files. Cells are square in model coordinates, but depending on which projection the model uses, might not be so in the real world. My usual…
AF7
  • 3,160
  • 28
  • 63
16
votes
1 answer

Error in CPL_transform(x, crs, aoi, pipeline, reverse): OGRCreateCoordinateTransformation() returned NULL: PROJ available?

I am using ubuntu 18.04 and the following code is generating an error library(sf) library(tmap) library(dplyr) library(raster) #sudo apt install…
David Hammond
  • 161
  • 1
  • 3
15
votes
2 answers

Making proj_api.h available for pip install cartopy

I am trying to install cartopy via pip install cartopy. I have installed proj.4 and it has placed a necessary file here ~/Downloads/proj-4.9.2 $ ls -l /usr/local/include/proj_api.h -rw-r--r--@ 1 dom admin 5911 Nov 21 11:06…
idontgetoutmuch
  • 1,621
  • 11
  • 17
14
votes
2 answers

Check version/if installed PROJ4

I'm really new in working with Geospatial Libraries and I was able to install GDAL and PostGIS already. I just wanted to check if I was really able to include the packages GEOS and PROJ4 that is a requirement for PostGIS. What command lines should I…
Reiion
  • 923
  • 3
  • 15
  • 33
9
votes
1 answer

How to transform coordinate from WGS84 to a coordinate in a projection with PROJ.4?

I have a GPS-coordinate in WGS84 that I would like to transform to a map-projection coordinate in SWEREF99 TM using PROJ.4 in Java or Proj4js in JavaScript. Its hard to find documentation for PROJ.4 and how to use it. If you have a good link, please…
Jonas
  • 121,568
  • 97
  • 310
  • 388
8
votes
3 answers

Cartopy not able to Identify GEOS for PROJ install on Windows

I am trying to install Cartopy on Windows. I have installed all the dependencies from their website, however when I go to run pip install Cartopy I get: Complete output (5 lines): setup.py:117: UserWarning: Unable to determine GEOS version.…
CeilingSystems
  • 167
  • 1
  • 9
8
votes
0 answers

Leaflet map with WMS and custom projection

I have implemented a map using Leaflet and tiles from a WMS-service. They offer a list of projections, where of one is usable in standard Leaflet EPSG:4326. However, the map looks a bit distorted, and I recon one of the other projections would be…
Steen
  • 2,749
  • 2
  • 20
  • 36
7
votes
2 answers

Can't install `proj4` package because libproj and/or proj_api.h not found in standard search locations

I want to install ggalt package which needs proj4 package installed, but when I install proj4 it throws an error libproj and/or proj_api.h not found in standard search locations. My computer is Mac, and I have installed PROJ.4 using brew install…
juby
  • 132
  • 1
  • 5
7
votes
3 answers

Conversion between different Map projections in Java

In my GIS application the data are sometimes stored in "Google Mercator" (in meters), sometimes in WGS84 LatLon. I'd like a reliable library to convert this data easily and in a "scientific" way, rather than messing with it manually, risking big…
Mulone
  • 3,603
  • 9
  • 47
  • 69
7
votes
3 answers

PROJ.4 library and OSGB36

hope you are well I am trying to convert lat/long coordinates to OSGB36 x and y using the proj.4 library. Has anyone else successfully done this? I need to fill the srcPrj4String and destPrj4String variables, e.g. string srcPrj4String =…
leddy
  • 531
  • 3
  • 13
  • 31
6
votes
1 answer

How to rotate world map using Mollweide projection with sf/rnaturalearth/ggplot in R?

I would like to plot a world map in R using the Mollweide projection centred on the Pacific region (specifically, Australia), using a rnaturalearth --> sf --> ggplot pipeline. I have been running into the annoying issue of having connected lines…
dbarneche
  • 645
  • 1
  • 5
  • 8
6
votes
2 answers

PyProj package installation PROJ_DIR variable

I am attempting to install pyproj, although am getting a Proj executable not found. Please set PROJ_DIR variable error. COMMAND $ pipenv install pyproj I have also tried pipenv git+https://github.com/jswhit/pyproj.git#egg=pyproj for the same…
Darcy
  • 575
  • 2
  • 8
  • 21
6
votes
7 answers

Converting latitude/longitude to Alberta 10 TM Projection

I need to convert latitude/longitude coordinates into Easting/Northing coordinates in the Alberta 10 TM Projection. The 10 TM projection is similar to UTM, but it is a custom projection for the province of Alberta, Canada. I think (with some…
Michael Sharek
  • 5,043
  • 2
  • 30
  • 33
6
votes
3 answers

Error Installing Pyproj in Python 3.5

From last couple of day, I am trying to install the pyproj package of python using pip. But I am getting the below quoted error. I have tried all the relevant solution available but was unable to install it. Thanks in…
SK Singh
  • 153
  • 1
  • 1
  • 14
1
2 3
17 18