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
0 answers

PROJ: proj_create: Error 1027 (Invalid value for an argument)

I'm doing gdalwarp on a Cygwin platform. The -s_srs was set as: -s_srs +proj=lcc +lat_1=30 +lat_2=35 +lat_0=30 +lon_0=87 +x_0=0 +y_0=0 +ellps=WGS84 +a=6370000 +b=6370000 +units=m +no_defs Then I got this error: ERROR 1: PROJ: proj_create: Error…
bowen
  • 1
  • 1
0
votes
0 answers

How to compile gdal3.3.1 for iOS

I am working on compiling gdal for iOS. I can compile gdal1.11.5 via this script: (you should change the gdal version in the script) , I cannot compile gdal3.3.1. Anyone can give me some suggestion? checking how to run the C++ preprocessor...…
0
votes
1 answer

Problem with elevatr::get_elev_raster - what am I doing wrong?

I'm trying to make a topographic map in r. First step, download elevation data: ex_df <- data.frame(x=c(5.86, 7.7, 7.7, 5.86, 5.86), y=c(50.59, 50.59, 49.8, 49.8, 50.59)) crs_obj <- crs("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84…
0
votes
2 answers

R raster function will not accept crs in WKT format

I'm trying to generate a raster and assign it a CRS projection. However, my CRS is in the new WKT format, and the raster() function is requiring me to provide a proj4string. Here's my code so far: library(sf) library(raster) crs_dem <- st_crs( …
cbowers
  • 137
  • 8
0
votes
1 answer

PostGIS doesn't work after update in Manjaro

I recently ran a full update on my Manjaro-System, afterwards, when I tried to run a small script I use to start and automatically save my Postgres-DB I get the following error in the shell. pg_dump: error: query failed: ERROR: could not load…
C.-F. Vintar
  • 145
  • 5
0
votes
1 answer

Why is the proj data so large?

There is this project required by what appears to be the only free tool for working with gis and satellite rasters: Proj. https://proj.org/ Which projects coordinate systems around and around. For some reason it has an accompanying data source that…
0
votes
1 answer

Replacement for pj_get_def?

I have an application that parses the output of pj_get_def that turns EPSG identifiers into some useful key/value pairs. According to the migration guide, the replacement is proj_pj_info. However, the PJ_PROJ_INFO I get back has an empty definition…
Matthew
  • 2,593
  • 22
  • 25
0
votes
0 answers

cannot create a geopandas df

I am trying to create a geopandas dataframe using the following code: # designate coordinate system crs = {'init':'espc:4326'} # zip x and y coordinates into single feature geometry = [Point(xy) for xy in zip(data2['longitude'],…
brenda
  • 656
  • 8
  • 24
0
votes
0 answers

Star chart using OpenLayers

Is it possible to configure Openlayers and Proj4js to display a star chart? I have the right ascension and declination of the stars I want to display, which I could put in a vector layer, but how should I set up the projection?
Miner_Glitch
  • 537
  • 4
  • 16
0
votes
1 answer

Can't transforme sf feature on shinyapps.io

In my shinyapp I try to transform a sf feature (with EPSG:4326) sf::st_transform(sf_feature, crs = sf::st_crs(4839)), but when deploying on shinyapps.io an error occurs: GDAL Error 1: No PROJ.4 translation for source SRS, coordinate transformation…
Sebastian
  • 23
  • 4
0
votes
1 answer

How to link proj to install succesfully the sf package on CentOS 6?

I'm trying to install the sf package for R, following this answer on CentOS 6: https://stackoverflow.com/a/51369036/826500 But it fails when reaching the proj part with the message: proj.cpp:31:2: error: 'proj_context_set_search_paths' was not…
Memochipan
  • 3,405
  • 5
  • 35
  • 60
0
votes
0 answers

My Windows machine is unable to install PROJ 4.9.0 through the OSGeo4W program. What should I do?

I have followed all of their steps for Windows on their website. However, I am still not able to install Cartopy through pip, as pip says both PROJ and geos have not been installed. What should I do?
Carl
  • 23
  • 5
0
votes
0 answers

CRAN package installation errors or rstudio - attempting to install "MODISTools"

I'm very new to R and am struggling to install the package MODISTools. I've been attempting to install it by using the Install Packages option in RStudio but I get the following errors: ERROR 1: PROJ: proj_create_from_database: cannot build…
coralie
  • 1
  • 1
0
votes
1 answer

Problem in installing PROJ in python environment

Cannot install PROJ >>pip install git+https://github.com/OSGeo/PROJ.git Collecting git+https://github.com/OSGeo/PROJ.git Cloning https://github.com/OSGeo/PROJ.git to c:\users\lenovo\appdata\local\temp\pip-req-build-jwr6msmg ERROR: Command…
VGB
  • 447
  • 6
  • 21
0
votes
1 answer

Installation pyproj does not work returned 127

I want to install pyproj on Debian on Docker. This is my script: FROM debian:latest RUN /bin/bash -c 'apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq apt-utils && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq \ …
Leo
  • 222
  • 1
  • 4
  • 15