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
2
votes
1 answer

Error Opening Project: the R project cannot be open

When I try to open a R project (.Rproj file), I cannot and this error message appears: Project 'abc.Rproj' could not be opened. The project file did not include a version attribute (it may have been created by a more recent version of RStudio). Can…
userLx
  • 81
  • 8
2
votes
1 answer

Project point from one UTM zone to other

I am currently working on a project where we have to figure out the position of one point based on the known position of two (user-input) points. Now the problem is that the users could provide two points in different UTM zones, so we have to…
Luiz Fernando Salvaterra
  • 4,192
  • 2
  • 24
  • 42
2
votes
1 answer

Cannot build PROJ on windows - linker error with sqlite3

What I really wanted is to build GDal, but that requires PROJ, which requires SQLite3. None of these are particularly user friendly when it comes to building. After 4 hours, I'm stuck. What I did so far: download PROJ source Download SQLite…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
2
votes
1 answer

setting right projection crs to geodataframe to calculate in meters

Even though there is an answer to my question How to create an accurate buffer of 5 miles around a coordinate in python?, but I can not represent it. I have a Series of locations in standart lat, lon float degrees format, and need to calculate…
Dmitriy Grankin
  • 568
  • 9
  • 21
2
votes
0 answers

Is there a proj4 string that can be used for flat coordinates?

I am working in R with spatial points and polygons that exist in a totally 2D plane (not the real earth). Is there any CRS or proj4string that I can use for these objects? These points and polygons are one of several groups of spatial objects that I…
MadCF
  • 21
  • 2
2
votes
2 answers

Why does pyproj.Proj forward projection not seem to account for lat lon origin?

I am getting confused about how projections using pyproj.Proj are defined with respect to a point of tangency / lat lon origin. Consider the following code: import pyproj p = pyproj.Proj('+proj=tmerc +lat_0=55 +lon_0=-1 +a=6378137 +b=6356752.3…
Liam Deacon
  • 904
  • 1
  • 9
  • 25
2
votes
0 answers

"caught segfault" when installing rgdal for tmap R package

My goal is to install tmap R package from CRAN. I have followed through this installation procedure prior to installing the tmap package: https://github.com/mtennekes/tmap/blob/master/ubuntu_17_installation.sh After install.packages("tmap") I…
larnsce
  • 103
  • 8
2
votes
0 answers

Conversion from WGS84 to local coordinates using proj4, conserving angles and distances

I try to convert WGS84 points data from googlemaps to local x,y referential in meters. I looked to many post on this site and others, but the way to define the local referential to get true distances and angles has not been depicted in these…
Sébastien
  • 21
  • 5
2
votes
1 answer

Msbuild ItemGroup exclude doesn't work with wildcards

This Itemgroup ItemsFromAnotherTarget contains: ..\..\References\AnotherFolder\ReferencedAssembly.dll bin\GeneratedAssembly1.dll bin\GeneratedAssembly2.dll somefolder\somefile.txt somefolder\somefile.exe bin\anexe.exe The idea is to generate…
dushyantp
  • 4,398
  • 7
  • 37
  • 59
2
votes
0 answers

How to fix a shapefile reprojected from sinusoidal projection to lat long?

I have been work in convert the MODIS Tiles Grid from sinusoidal projection to lat long projection using python ogr2ogr. It doens't works well, the shapefile reprojected presents some lines that was not present in the original shape and it produces…
2
votes
1 answer

Cartopy not finding Proj.4

i have installed proj-4.9.1 correctly through the tar.gz and ./configure --prefix=/path/to/directory then "make" and "make install". Nevertheless cartopy tells me Proj4 4.9.0 must be installed. I run the setup script through python3 setup.py…
w.eric
  • 321
  • 5
  • 15
2
votes
1 answer

Converting from UTM to LongLat using Proj4 in C++

I've been going around this issue for days, but haven't been able to find an explanation to what I am doing wrong. I hope you can lend me a hand. I have a set of UTM coordinates (epsg:23030) that I want to convert to LongLat Coordinates (epsg:4326)…
2
votes
2 answers

Converting between projections using pyproj in Pandas dataframe

This is undoubtedly a bit of a "can't see the wood for the trees" moment. I've been staring at this code for an hour and can't see what I've done wrong. I know it's staring me in the face but I just can't see it! I'm trying to convert between two…
user1718097
  • 4,090
  • 11
  • 48
  • 63
2
votes
1 answer

Convert coordinates for San Francisco using pyproj

I have a shapefile of San Francisco that I successfully loaded but I need to convert the coordinates to longitude/latitude form. The variables I have are as follows: w1 = x coordinates w2 = y coordinates Currently the coordinates look like…
DDoubleU
  • 51
  • 3
2
votes
3 answers

lat/lon conversion to x/y-coordinates

I have a openstreetmap image. left upper corner is lat: 80 lon: -169 and right lower corner is lat:-56 lon: 190 The image has the width: 2618 and the height: 1513 How do I convert given lat/lon-coordinates to the pictures x/y-coordinates? I tried it…
alexschnalex
  • 21
  • 1
  • 3