Questions tagged [proj]

A library for performing conversions between cartographic projections.

Filter by
Sorted by
Tagged with
1
vote
0answers
54 views

Winkel II fails while reprojecting on the fly in QGIS 3.12

Currently, in QGIS 3.12 the Winkel Tripel projection working on the fly but Winkel II, which is also implemented, is not working. This is the fact or there is a bug? If I reproject dataset into ESRI:...
0
votes
1answer
27 views

Converting from Canada Atlas Lambert (ESRI:102002) to Lat/Long

I have a shape file with projected coordinates specified in Canada Atlas Lambert (NAD83) (ESRI:102002) and have been trying to convert the coordinates to lat/long (ideally in WGS84). However, whenever ...
2
votes
1answer
34 views

Proj string issue

Could anyone explain why the target in this proj string is not correct? $ projinfo -s EPSG:4326 -t '+proj=gnom +lat_0=61.39107201212929 +lon_0=-58.56360634793518' -o PROJ target CRS string is not ...
1
vote
1answer
38 views

GDAL 3.0.4, Proj 7.0.0. ogr2ogr says “Unable to open EPSG support file gcs.csv”

I am building GDAL 3.0.4 on Windows. GDAL 3.0.4 depends on PROJ. I have chosen PROJ 7.0.0, which depends on Curl, Libtiff, and Sqlite. I have successfully built all of the dependencies as shared ...
2
votes
0answers
29 views

Determine if a coordinate reference system is projected from Proj text

I'm looking for a reliable way to determine if a coordinate reference system is projected or not based on its Proj text. As examples I'm looking at EPSG:3857 and EPSG:4326 EPSG:3857: +proj=merc +a=...
1
vote
1answer
21 views

GDAL: Changing a GeoTIFF's Proj.4 K value

I have a GeoTIFF that appears to have a broken proj4 K value. When I run the command: gdalsrsinfo -o proj4 <Filename> I get the output: +proj=stere +lat_0=-90 +lon_0=0 +k=0 +x_0=0 +y_0=0 +R=...
1
vote
0answers
42 views

Is there a piecewise-UTM coordinate system?

Is there an EPSG code, WKT or a proj4 string, for a single global piecewise-UTM coordinate system such as MGRS (the NATO military grid reference system)? I suppose this would work similar to the ...
2
votes
1answer
71 views

Cannot find proj.db in QGIS 3.10.3

I would like to program a standalone application using C++. In version 3.4 LTR, my program ran fine and I did not receive any notification when running it. However, when I compiled using the qgis ...
2
votes
1answer
31 views

MODIS REST API transform data to GeoTIFF with Python

I'm trying to transform the response from a request with land surface temperature data from MODIS API to a GeoTIFF: https://modis.ornl.gov/rst/api/v1/MOD11A2/subset?latitude=0&longitude=0&...
0
votes
0answers
32 views

QGIS 3.10 doesn't accept eqc projection

+proj=eqc +R=206264.80624709636 +units=m +no_defs This projection definition works well in cs2cs online. https://mygeodata.cloud/cs2cs/ But if I try to register this projection to custom CRS in QGIS ...
1
vote
1answer
54 views

Find the right values for bounds and origin for Proj4Leaflet

I'm using Proj4Leaflet to use tile layers with a different CRS (EPSG:25832) in my leaflet project. Now I am somehow lost in finding the correct values for the bounds and origin of the tiles I want to ...
0
votes
0answers
7 views

How convert HangZhou coordinate systemto WGS84?

I found some parameters, but don't know how to use them: The Center points is 120°09′33″.04E,30°14′48″.07N and the direction angle is 07°56′20″.17 . And how to convert a x,y to Longitude,latitude, ...
2
votes
1answer
62 views

Reprojecting local CRS using PROJ

We have point data (x,y in m from a local 0,0) from an archaeological campaign, that we would like to display embedded into real-world cartography. We know either the real world coordinates of 0,0 (e....
1
vote
1answer
27 views

World_Eckert_IV to Latitude/Longitude projection is incorrect

I'm using pyproj to transform between coordinate systems. Here is my .prj file: PROJCS["World_Eckert_IV", GEOGCS["GCS_WGS_1984", DATUM["D_WGS_1984", SPHEROID["WGS_1984",6378137.0,298.257223563]], ...
4
votes
1answer
64 views

Performing Esri NAD27 to WGS84 datum transformations with ST_Transform in POSTGIS

I am trying to align with some data points that have been projected in Esri from NAD27 State Plane feet (SRID=32026) to Lon/Lat using the "NAD_1927_To_WGS_1984_6" datum transformation using ...
3
votes
0answers
41 views

Proj4 string missing datum information for SAGA outputs loaded into R

I've produced a set of topographic derivatives using both SAGA and ArcGIS. They are all in the same CRS. When I load them into R, however, the proj4 strings are different: >arcRaster class ...
2
votes
1answer
31 views

What is the link between proj4js and proj

Question I am simply wondering, what is the relationship between the web oriented proj4js and the PROJ C++ well known library (on which for example GDAL/OGR relies)? Is there any link between these ...
2
votes
0answers
46 views

Did the syntax for proj4 change with QGIS 3.10?

In QGIS 2.8 I was able to successfully do a transformation using the following proj4 syntax : +proj=utm +zone=18 +ellps=clrk66 +datum=WGS84 +towgs84=-11.0584,163.8703,190.541,0,0,0,0 +units=m +...
1
vote
0answers
33 views

Generate custom WKT Coordinate System definition from local / WGS84 pairs of coordinates [closed]

I am wondering if it possible to create a custom WKT for coordinate transformations based on pairs of WGS84 lat/lon and the corresponding local N/E values. So like a minimum 2 pairs? If so is it ...
1
vote
1answer
57 views

Is there a proj4 string for GDA2020 (epsg:7844) that we use to transform from 3857 or 4326 to gda2020 using dot spatial .net library

We are using dot spatial library for transformation from one projection to other. We are planning to include the new release GDA 2020 projections. Is it as simple as just adding the proj string for ...
9
votes
2answers
167 views

Setting proj parameters of old map

I would like to georeference these fantastic old public domains maps https://legacy.lib.utexas.edu/maps/ams/italy_50k/ I started from this one, and it has these projection parameters. Then I have ...
2
votes
1answer
55 views

How can I determine if a transformation between two CRS is simply scaling/translating or more complex?

We are using pyproj to transform between coordinate reference systems. What is a good way to check if the transformation is simply scale/translate/units? Basically, I want to know if a grid in the ...
1
vote
1answer
25 views

GDAL Convert Format with PROJ string

I would like to perform the following transformation in the GDAL Convert Format tool in QGIS: projinfo -s ETRF2000 -t ITRF2008 -o PROJ Candidate operations found: 1 --------------------------...
1
vote
0answers
37 views

Creating custom PROJ projection from control points

I have a JPG raster, and I used QGis to georeference it with "control points", which are pixel coordinates linked to map coordinates, in EPSG:4326 (lon, lat). Here is an example of the control points ...
2
votes
0answers
95 views

OpenLayer's graticule doesn't properly work

I am making a map of Krasnoyarskiy krai subject of Russia. I have defined a custom projection that should be used for this area using proj4 string. I need to show lat/long grid only for this territory....
0
votes
1answer
62 views

Create prj4 file for NAD27 Mexico from prj file for import to QGIS

I would like to be able to add the NAD27 MEXICO projection to QGIS, MapInfo, etc. Global Mapper has this projection, and the prj file is: PROJCS["NAD_1927_UTM_Zone_13N",GEOGCS["...
2
votes
1answer
94 views

GDAL Python - How I can determine the PROJ version used

As PROJ recent major update introduces importants change in the API, I need in my script to check what is the PROJ version compiled with the current GDAL installation of the user. I know I can get the ...
4
votes
0answers
75 views

GIS proj pipeline

I would like to create a custom projection in QGIS 3.10. It is a local stereo and the reprojection between WGS84 and the local stereo uses proj pipeline. For example in cs2cs it is (which works well): ...
6
votes
1answer
136 views

How can I convert the Gaussian coordinates( Gauß-Krüger) to the WGS84 coordinates

I have a list of WGS84 and Gauss coordinates, but how to convert another WGS84 coordinates. I want to use PROJ for conversion. What is PROJ string like? | Name | x | y | H | ...
1
vote
1answer
46 views

Creating custom proj4 string from components

I'm trying to work with NOAA's NDFD weather data, which are released as rasters in GRIB format. Specifically, I'm currently trying to get the pixels that intersect an arbitrary geometry. Information ...
1
vote
1answer
45 views

Custom PROJ CRS for shifted, rotated, and skewed axes?

It is possible to create a custom PROJ definition for a cartesian CRS with shifted, rotated, and skewed axes? For example: Where The x-axis is formed by the line AC, the y-axis by the line AB, and ...
0
votes
1answer
66 views

What epoch does Proj4 for EPSG:4326 assume? NMEA stream provides Lat Lon at measurement epoch

I get a NMEA stream exported from Applanix PosPac in the epoch the measurements took place (2019). These coordinates go into a software, that interprets the NMEA Lat Lon as EPSG:4326 with Proj4 ...
1
vote
0answers
47 views

gdalinfo returns PROJCS[“unnamed”] but QGIS returns the correct projection

I'm trying to understand why my gdalinfo call to a specific file returns "unnamed" for the PROJCS node. The call looks like this: ./gdalinfo /path/to/file/dem.tif. Output (notice the "unnamed"): ...
1
vote
0answers
29 views

SR EPSG 3035 ETRS/LAEA Europa to EPSG: 6204 Macedonian State Coordinate System python

I would like change a raster dataset from EPSG: 3035 (ETRS89/LAEA Europa) to EPSG: 6204 (Macedonia State Coordinate System) My WKT for the first coordinate system is: PROJCS["ETRS89 / LAEA Europe", ...
2
votes
0answers
34 views

Why QGIS cannot georeference a Grib2 file with CRS (PROJ.4 and OGC WKT2)?

Situation: I have some .grib2 files that I downloaded from a (supposed to be) reliable source. When I do $ gdalsrsinfo file.grib2 I get: PROJ.4 : +proj=lcc +lat_0=38.5 +lon_0=262.5 +lat_1=38.5 +...
2
votes
0answers
123 views

QGIS proj4 definition is not valid

In QGIS 3.4 I'm trying to add a custom projection that was used for topographic maps of Suriname in the 1950s. I have the parameters from an article about historical CRS used in the country. Using the ...
1
vote
1answer
42 views

Swift library to convert latitudes and longitudes from EPSG:4326 into EPSG:3857

I would like to know a Swift library or method that I can use to convert from 4326 to 3857. I have referred some libraries such as Proj4Swift and Proj.4, but to no avail. The first link does not has a ...
1
vote
2answers
90 views

Proj4 definition for WGS84 coordinates multiplied by 1000000

For some reason, a vendor found it convenient to move from a Gauss–Krüger coordinate system (EPSG:31466) to something like WGS84 but then multiplied by one million. Hence lon = 6090805, lat = 50777584,...
2
votes
1answer
114 views

QGIS/proj errors with EPSG:2951

I've built various QGIS projects that use Canadian UTM and MTM CRS. They worked just fine in QGIS versions through 3.8 (based on proj4 and ?proj5). In QGIS windows version 3.10.0-3, things got borked ...
0
votes
0answers
22 views

How To parse one UTM location with a zone into another UTM location with another zone?

I'm working on an iOS app where the user can input 2 UTM locations, but the user is inputting 2 UTM locations with different UTM zones and I need to project one of them into another zone. I tried to ...
2
votes
0answers
23 views

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 ...
0
votes
0answers
25 views

Reprojection of Landsat 8 using the existing shapefile in ArcGis

I have downloaded a landsat8 and when I overlay it with a shapefile of the location where I want to extract by mask , the combination of landsat 8 and the shapefile are not matching. The shapefile is ...
1
vote
1answer
225 views

MapProxy Installation problem with PyProj

I'm testing MapProxy (1.12.0) on a Windows Machine and followed each step from the "Installation on Windows" docs. I have a running virtualenv, used pip to install MapProxy and PyProj. The command ...
0
votes
0answers
31 views

Bundling GDAL 3.0.2 with PyInstaller

I'm not sure if this is the right Stack to ask in, but I've been recently trying to bundle the latest wheel of GDAL 3.0.2 x64 downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal for ...
0
votes
1answer
63 views

Get type of projection from pyproj CRS object

I'm used to using PROJ strings/dictionaries in python where I have access to a proj_dict['proj'] element. I have some calculations that I can only do with the PROJ.4 geos projection and otherwise ...
3
votes
1answer
43 views

Different results from cs2cs and gdaltransform

I expected to get the same result when performing a transformation using cs2cs and gdaltransform. However, the results differ: echo "53.70015N 9.12875E" | cs2cs EPSG:4326 EPSG:3857 1016207.80 ...
1
vote
1answer
45 views

*.h5 Projection Parameters

I have a file named 'VNP13A1...h5' and I'm trying to georeference it in Python 3. I know how to read and extract data from this file and what I'm trying to do is automating this process for other ...
4
votes
1answer
139 views

To project, or not to project? Extracting raster values with R

I have a raster from which I need to extract values at point locations using raster::extract(raster_stack, points_sf). The raster is at 30 arc-second resolution and came from WorldClim with ...
2
votes
1answer
59 views

Flipping coordinates in projection results in distortion. A simple mistake

Edit: I made an embarrassing rookie mistake late at night (excuses, excuses) and flipped my lats and longs. As a result, people searching for an answer to my original question will not be helped by ...
2
votes
1answer
111 views

Display ESRI MapService (WMTS) with EPSG:28992 coordinate system in OpenLayers web map with OpenStreetMap base layer

ESRI MapService https://tiles.arcgis.com/tiles/nSZVuSZjHpEZZbRo/arcgis/rest/services/Historische_tijdreis_1870/MapServer have EPSG:28992 coordinate system. In QGIS I can add this layer via WMTS https:/...

1
2 3 4 5
9