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
6
votes
2 answers

unable to install rgdal in ubuntu 14.04 (undefined to reference to 'pj_ctx_fclose')

I tried to install rgdal with configure.args but no luck. Installed gdal version: gdal-config --version 1.11.2 ogrinfo --version GDAL 1.11.2, released 2015/02/10 found gdal binary tools: ls /usr/bin | grep…
seifer_08ms
  • 375
  • 5
  • 17
6
votes
1 answer

Python/Pip C package PyProj fails to compile with GCC

I'm trying to install PyProj on a WebFaction VM, via virtualenv & pip. I'm getting compile errors. I'm using this command: $ pip install pyproj There's a lot of output, terminating in this: src/geodesic.c: In function…
allanberry
  • 7,325
  • 6
  • 42
  • 71
6
votes
1 answer

How to install "libproj-dev" on mac os x

I am trying to install proj4rb on a Mac Mavericks (gem install proj4rb) but get the following error: ----- Error Message checking for proj_api.h... yes checking for pj_init() in -lproj... yes creating Makefile make compiling projrb.c projrb.c:2:22:…
user20127
  • 61
  • 1
  • 3
6
votes
2 answers

How to get latitude and longitude for a pixel of a eumetsat image using python?

I have a 3712x3712 pixel sized image of a geostationary eumetsat satellite. There is some black around the earth, such that the image looks like this: For each pixel of the earth, I'd like to get its latitute and longitude. I know that there's…
AME
  • 2,499
  • 5
  • 29
  • 45
5
votes
3 answers

Can't install Proj 8.0.0 for cartopy linux

I am trying to install Cartopy on Ubuntu and need to install proj v8.0.0 binaries for Cartopy. However when I try to apt-get install proj-bin I can only get proj v6.3.1. How do I install the latest (or at least v8.0.0) proj for cartopy?
Recessive
  • 1,780
  • 2
  • 14
  • 37
5
votes
2 answers

how to upgrade proj4 for rgdal

I use the R packages rgdal and rgeos extensively (currently with R v3.2.2). Recently, on my ubuntu machine (ubuntu v15.10), when I load the rgdal package, I see the following: > library(rgdal) Loading required package: sp rgdal: version: 1.0-7, (SVN…
Pascal
  • 1,590
  • 2
  • 16
  • 35
4
votes
1 answer

Coordinate Reference System of Raster & Polygons in R

I have several polygons & I like to extract mean values from several raster layers within these polygons. When I added those to ArcMap I realized that the projections of the two data types do not match. I could solve the problem for the display in…
te_ar
  • 115
  • 1
  • 13
4
votes
1 answer

spTransform() in R warnings with PROJ

I'm in R v 4.0.4 - sp v 1.4-5, and rgdal 1.5-23. I'm loading a shapefile using the rgdal package and then trying to simply apply spTransform() but I'm getting a ridiculous set of warnings that I can't get rid of. Anyone have any insight on…
GrantRWHumphries
  • 612
  • 7
  • 22
4
votes
1 answer

Cannot install proj 7.2.0

I am on Ubuntu 19.10 and I am trying to install proj 7.2.0 According to the website I should use this: sudo apt-get install proj-bin But it seems that this command installs version 5.2.0: Reading package lists... Done Building dependency tree …
GStav
  • 1,066
  • 12
  • 20
4
votes
1 answer

How to handle pyproj datadir/CRS error when creating an executable using pyinstaller

The program I am creating is designed to create several points within several zip codes, and find the distance from each of those points to every point in every zip code that is within 5 miles of the zip code of interest. This is done by utilizing…
Keagan McNew
  • 103
  • 2
  • 5
4
votes
1 answer

Cannot install cartopy

I am using PyCharm IDE and am unable to install 'cartopy'. When I run the command `pip install cartopy' in the PyCharm terminal I receive the following error message: Collecting cartopy Using cached…
Sagar Jogadia
  • 1,330
  • 1
  • 16
  • 25
4
votes
2 answers

angular & migration openlayers to ol & proj4js

Tried to migrate an angular-based project using openlayers away from deprecated openlayers-npm-package to recommended ol-npm-package. By debugging i realized that i had a problem with the previously still working integration of proj4. After two days…
user10324080
  • 121
  • 8
4
votes
1 answer

spTransform(): "No transformation possible from NA reference system"

I have a table of all Stop and Frisks that happened in 2017. I am given coordinates of where they happened in Long Island coordinates, but I want to convert it to latitude and longitude coordinates so that I can plot it in Leaflet. I have the…
Cameron
  • 2,805
  • 3
  • 31
  • 45
4
votes
1 answer

geopandas projection problems

I'm handling shp files now and I encountered problems with the projections. Let me give you my code below. import pandas as pd import geopandas as gpd from geopandas import GeoSeries, GeoDataFrame import os Aelly = gpd.read_file(r'C:\Users\Hyun…
김지영
  • 267
  • 4
  • 15
4
votes
2 answers

Proj4 reprojection using R

I am trying to reproject coordinates from WGS84 to MGA Zone 53, a UTM projection based on the GDA94 datum. I get infinity as my result, which is definitely incorrect. I am using R's proj4 package like so: > library(proj4) > df <- data.frame("x" =…
fmark
  • 57,259
  • 27
  • 100
  • 107
1
2
3
17 18