Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [proj]

A library for performing conversions between cartographic projections.

1
vote
0answers
19 views

WFS how to consume with different coordinate system? [duplicate]

I have a WFS in EPSG:4167. My map view has EPSG:3857. How to make the WFS work on a map view with different coordinates? I used this to define my coordinate system from wfs: import { register } ...
1
vote
2answers
59 views

Creating generic coordinate system in QGIS

So I'm new to QGIS (3.4) and haven't touched any mapping software in 15 or more years. I'm slowly finding my way around but I'm currently struggling to create a generic coordinate system for a map ...
0
votes
1answer
20 views

Is MODIS sinusoidal tile boundary in Eathdata website real?

I was using MOIDS data MCD12Q1 (MODIS/Terra+Aqua Land Cover Type Yearly L3 Global 500m SIN Grid V00). I try to use PyProj in Python to transform the Sinusoidal projection to lat/lon. It actually ...
2
votes
2answers
35 views

Convert WKT coordinate reference system to PROJ4

I'm currently working on a better support of LAS 1.4 file format in the rlas R package. In LAS 1.4 format the CRS of the point cloud can be stored as a WKT string. For example this is what I read from ...
2
votes
1answer
36 views

RSAGA error using rsaga.pisr2

I just downloaded SAGA and the RSAGA package for R. I would like to use the rsaga.pisr2 function to compute solar radiation for my region of interest. I am currently getting errors related to proj4 (...
0
votes
0answers
21 views

Gdalwarp producing odd results around 0 degree longitude

I am warping ECMWF grib data (full globe, 0.25 degree resolution) to match the SEVIRI geostationary satellite projection. I use this command: gdalwarp -overwrite -ot Float32 -t_srs "+proj=geos +a=...
0
votes
0answers
43 views

How to import a data with unknown coordinate system to a data with known coordinate system

I have recieved a Group of shape files with unknown coordinate System. The coordinates are like: 536605 , 5658923 and I can not find the corresponding projection/coordinate System. It looks like that ...
0
votes
1answer
36 views

What parameters do azimuthal and transverse cylindrical projection in secant case have as proj4 string

conical equal-area projection, secant case has e.g. +proj=aea +lat_1=... +lat_2=... +lon_0=... +lat_0=... +x_0=... +y_0=... etc... I would ask if there is such thing, for transverse cylindrical ...
0
votes
0answers
14 views

Why is proj version dated in the future?

I compiled proj (also known as proj.4) from sources on Ubuntu (https://github.com/OSGeo/proj.4.git). I now wonder why is proj version dated in the future? E.g.: $ proj Rel. 6.0.0, March 1st,...
3
votes
0answers
19 views

Accurate area calculation for countries worldwide individually [closed]

I have polygons of countries with its administrative divisions, I would calculate the areas of each division in a country accurately. I got the bounding boxes for each country, then I divided its ...
2
votes
2answers
67 views

Hammer projection in GDAL

I am working on Ubuntu 18.04 with PROJ 4.9.3 and GDAL 2.2.3 (installed from the ubuntu-gis PPA). In a previous question on Hammer's projection in QGIS it was concluded that with older PROJ versions ...
1
vote
0answers
32 views

Create custom projection for Shapefile, given specific target coordinates [duplicate]

I have a somewhat odd situtaion. A client has provided me with a Shapefile that has no projection information, along with an image of the map that it corresponds to. I have run some coordinates ...
0
votes
0answers
23 views

Fishnet programmed in python does not display correctly in ArcMap but displayed correctly in QGIS

I programmed a fishnet in python to use as a reference map for georeferencing. I am facing the following issue: The fishnet is not displayed correctly in ArcMap 10.5.1. The fishnet has parameters lat-...
2
votes
1answer
40 views

Handling raster data in a “rotated pole projection” with R?

My question is about using R to transform raster data from a rotated pole projection to a regular latlon grid - and then plotting it. I am working with data from a numerical weather model, which is ...
0
votes
1answer
81 views

Converting NAD83 (epsg:4269) to WGS84 (epsg:4326) using pyproj

I'm trying to convert US census data (NAD83) to WGS84. I know the difference between the two is quite minor, but trying to apply the transformation using pyproj does not do anything. e.g.: from ...
2
votes
1answer
45 views

Can't perform Helmert transformation in Proj.4

I'm trying to convert a point from one SRS to another using proj4 strings and GDAL. My origin SRS uses Helmert transformation to convert point to EPSG:2229 so I tried to use pipeline operator (https://...
-1
votes
0answers
18 views

Custom QGIS CRS for transformation - MGA50 to Local Grid

I'm not sure how to define a custom QGIS 3 CRS for a local grid. I have the equation for transforming a projection system (GDA94/MGA zone 50) to the local grid but I don't know how to define the ...
0
votes
1answer
23 views

Moving MS4W from Apache to IIS

I'm trying to switch to IIS on my MS4W MapServer install. It works fine in Apache but on IIS I get: msProcessProjection(): Projection library error. proj error "no arguments in initialization list"...
0
votes
0answers
58 views

Different ways of NTv2-Grid integration

In QGIS there is an entry in the tbl_datum_transform for a NTv2-grid called BWTA2017.gsb ( https://github.com/qgis/QGIS/pull/6980 ). So theoretically it would be enough just to activate the option "...
1
vote
0answers
19 views

Rotating North in Custom CRS using proj4?

I'm trying to create a CRS for a local mine grid that involves the translation and rotation of GDA94 / MGA zone 55. The origin is translated 2195129.073 in the +x direction and by 5489615.789 in the +...
2
votes
2answers
70 views

How to create proj4 definition of local coordinatesystem

i have to generate a proj4 definition string from affine transformation parameters (A-F). For example: I have a local coordinatesystem based on EPSG:31466 The affine parameter are: A = 0....
2
votes
1answer
29 views

Install PROJ 5 on Linux without compiling

I would like to try PROJ 5 to understand if it solves some issues with version 4. The documentation states the following regarding Linux: How to install PROJ on Linux depends on which distribution ...
12
votes
1answer
223 views

Integrating NTv2-transformation in QGIS?

I am wondering what's the correct way to integrate a NTv2-transformation in QGIS. I have successfully integrated a NTv2-transformation in QGIS but I am not sure if it's done the way it's meant to be. ...
1
vote
1answer
41 views

What is the history behind WKT and proj.4? [closed]

What is the history behind WKT and proj.4 formats for defining coordinate systems? Does one have advantages over the other? Why do both exist? I'm guessing they were developed independently for ...
0
votes
0answers
20 views

Difference when using cs2cs and proj4 in my code

I'm trying to convert some coordinates from a system used in Buenos Aires to epsg:4326. When I try it running cs2cs or proj4js I get the correct results. However, when I embed proj4 in my iOS project,...
1
vote
2answers
178 views

PostGIS 2.5 error while compiling from source on Ubuntu Server 18.04

I'm compiling PostGIS 2.5 from source on Ubuntu Server 18.04 The server had no internet connection due to client requirements, so I've been following PostGIS 2.5.1dev Manual, 2.4. Compiling and ...
1
vote
1answer
23 views

Changing decimal places of X,Y coordinates using proj.4?

How do I change the accuracy of the output coordinates X,Y in the Proj.4 library (version 4.9)? In accordance with the manual I tried: proj +proj=poly -f '%.4f' +R=1 However, for lat=lon=50, the ...
0
votes
1answer
181 views

ProjNet. Coordinate reference system transformation deviation

I have a project with C# that contains a CEFSharp viewer showing a webpage with a map that I've created.I'm trying to add a marker in the map sending the parameters from C# to a function in the ...
6
votes
3answers
458 views

Adding Equal Earth Projection in QGIS?

There is a new accurate projection for world maps ► Equal Earth. I know its proj4 but I can't add it in QGIS (see below). Does it need some kind of QGIS update?
4
votes
1answer
115 views

Hammer projection in QGIS

I would like to use Hammer's projection in QGIS. I am providing the follow proj string: +proj=hammer +lat_0=0 +lon_0=0 +datum=WGS84 +units=m +no_defs But QGIS complains that it is invalid: ...
3
votes
1answer
82 views

PROJ.4 in QGIS Helmert

I am trying to create with PROJ a custom CRS in QGIS 3.2.0 - but I fail. I have a local, cartesian coordinate system and a transformation report (2D-Helmert) with the following parameters: ...
0
votes
0answers
63 views

How to properly implement EPSG: 27700 using vector tiles in Openlayers 4 and Geoserver

I am trying to get pbf vector tiles which are served by Geoserver to properly render in Openlayers 4 using the code below: <!DOCTYPE html> <html> <head> <title>Vector tiles&...
2
votes
1answer
151 views

Angular rotation using Proj4, for local coordinate system

I have a polygon feature on map to which I need to transform the coordinates to local coordinate system with respect to new origin while keeping the same datum. So far using the Proj4 library and by ...
1
vote
0answers
61 views

How to project to oblique Mollweide

I know how to produce a map with the Mollweide projection, both using QGIS and R (I'm most interested in doing all of this in R). The proj4string that I've used in R is +proj=moll +lon_0=0 +x_0=0 +y_0=...
0
votes
0answers
233 views

No handlers could be found for logger “shapely.geos”

I have the following code to get area of polygon using shapely and pycrs. I was able to run this code successfully in a jupyter notebook but when I incorporate it into my main code, I had an error ...
1
vote
2answers
111 views

How to know if a projection is correct?

I have a tif with the following projection: '+proj=stere +lat_0=1 +lon_0=2 +k=1 +x_0=6 +y_0=7 +datum=WGS84 +units=m +no_defs' Geoserver doesn't accept these tifs and QGIS is unable to reproject them....
2
votes
0answers
42 views

Can't open an image in CS63 in QGIS

I have an image in projection Pulkovo 1942 / CS63 zone X2. When I try to open it in QGIS, it fails to detect the projection and asks to select the projection manually. Does QGIS handle this family of ...
0
votes
1answer
278 views

“L.Proj is undefined” error when using Proj4leaflet in angular 5

I am facing the error "ERROR TypeError: Cannot read property 'CRS' of undefined" caused by L.Proj being undefined. Here what I did : I added Leaflet, Proj4 and Proj4leaflet packages using npm ...
2
votes
0answers
85 views

Reproject vector layer in QGIS?

I want to warp a vector layer (set of polygons, but not a raster map) to fit a map. The problem is, the vector layer coordinates are from 0 to 360 and the basemap layer coordinates are from -180 to ...
1
vote
0answers
64 views

Do I need to define extent when I define a new projection?

GGRS87 (EPSG:2100) is the projection system for Greece. But there is also another projection system which caters for a complex of islands (Kastellorizo, etc) which are located east form Greece (near ...
2
votes
2answers
115 views

Modifying center of equirectangular world map in QGIS?

I'm trying to make a custom CRS in QGIS, to get a projection similar to this map, where Toronto is at the center of the map : The picture above was created with an online tool : worldmapcreator But ...
2
votes
0answers
41 views

Countries cutting off at the edges of Mollweide projection

I have a custom CRS centering on the Pacific ocean with the Mollweide projection: +proj=moll +lon_0=-158 +datum=WGS84 +units=m +no_defs +lon_wrap=-158 My countries are split at the 22nd meridian, ...
1
vote
0answers
62 views

GML of geostationary satellite projection

I'm trying to convert geostationary satellite projection from Proj4 string to GML with GDAL. I use this Proj4 string: +proj=geos +lon_0=104.5 +h=35785865.7741 +x_0=0 +y_0=0 +a=6378160 +b=6356775 +...
0
votes
1answer
215 views

correct projection (PROJ.4 string) to rotate map

I want to project a map as being rotated by x degrees (as opposed to the standard "north is up" orientation). So far I'm able to get some arbitrary rotation using these projections: Two Point ...
1
vote
1answer
58 views

Wrong results from custom reference system

I'm trying to define a custom CRS in QGIS using PROJ4 format. Here's the string I used: +proj=tmerc +ellps=GRS80 +datum = ETRS89 +lon_0 =11.86 +lat_0 = 0 +x_0 =40000 +y_0=-6013000 +units=m +towgs84=0,...
1
vote
1answer
58 views

Transforming wkt to wkt

I am looking for a way to transform WKT-strings from EPSG:31467 to EPSG:25832 using a ntv2-grid (and without using a gui). Example: POLYGON((3413732.42 5318051.77,3413747.65 5318049.04,3413750.05 ...
-1
votes
1answer
305 views

Reproject vector layer error: latitude or longitude exceeded limits [closed]

I have a vector layer in GCS_WGS_84. The data it possess is world soil data obtained from this link. I am working in UTM zone 45N. Hence I need to reproject the CRS to WGS_84_UTM45N. I imported ...
1
vote
0answers
177 views

Converting Custom (local) .PRJ to .PROJ4

I have a Local PRJ file that I want to use in QGIS but how do I convert it to PROJ4? Details for the PRJ file as below (based of GDA94 / MGA Zone 53) JMG Authority: Custom Projection: ...
0
votes
1answer
104 views

PyProj: Transform from LLA to ORTHO with WGS84 gives sphere instead of ellipsoid

I want to convert my coodrinates from lon, lat to x, y of orthographic projection. I tried to use PyProj to do it, but it uses sphere, not ellipsoid. Here it is: lonlat_proj = pyproj.Proj(proj="...
1
vote
1answer
113 views

Coordinate transformation results are different between Proj4JS and pyproj

I try to make a coordinate converter using Proj4JS for mobile app, I use this source code. Before I tested conversion for WGS84 geographic and WGS84 UTM, there was not problem with it. I tested ...