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

How to get Lat/Lon from x,y Cartesian Coordinates tmerc projection?

I am trying to convert data from OpenDrive Cartesian coordinates to Lat/Lon values. For pt = [6.714150516498e+05, 5.434880530093e+06] on the German A9 Highway, I want to know what the Lat/Lon Coordinates are. I have been trying to solve it this way…
0
votes
2 answers

OpenLayers 3 reproject vector layer (v4.3.2)

Greeting GIS enthusiasts and WEB makers. I have one question regarding projections, to be more precise reprojecting from EPSG:3765 to EPSG:3857 in Openlayers 4. In code below I'm trying to reproject from EPSG:3765 to EPSG:3857 : proj4.defs( …
Svinjica
  • 2,389
  • 2
  • 37
  • 66
0
votes
1 answer

How to convert Coordinates to LCC using PROJ.4

I have written an augmented reality app that will place objects on top of printed street maps. I know the GPS coordinates of each corner of each map and could calculate a relative value where to place any object on this map. While this worked good…
kiu
  • 1
  • 1
0
votes
1 answer

Why I can't get correct value when used proj4js's method transform() (wgs84 -> utm-k)

I want to get correct value transform in proj4js. coordinate converted value wgs84 (EPSG:4326) -> utm-k (EPSG:5179) I tried to get coordinate converted value but i couldn't get correct value. But other convert values were correct. Coordinate is 제주도청…
0
votes
1 answer

How to force proj4 to build proj.dll instead of proj_4_9.dll including version using cmake

How to force proj4 to build proj.dll instead of proj_4_9.dll including version using cmake? I tried to set(OUTPUT_NAME "proj" CACHE STRING "") set(PROJ_CORE_TARGET "proj" CACHE STRING "") set(PROJ_CORE_TARGET_OUTPUT_NAME "proj" CACHE STRING "") to…
Beachwalker
  • 7,685
  • 6
  • 52
  • 94
0
votes
1 answer

I can't install RouteMe in Xcode

I'm trying to install the Route-Me library in Xcode so as to convert coordinates in my iphone application. I have follow this page : https://github.com/route-me/route-me/wiki/Embedding-Guide However, I don't have a "MapView.app" (in paragraph…
0
votes
1 answer

"Segfault using proj4 with OpenMP" or "How to use thread-specific globals with OpenMP"

I have a large number of objects defined by WGS84 coordinates which I would like to transform into Mercator space. There are other operations not shown in the MWE which prevent me from just doing everything in a single-threaded manner. My current…
Richard
  • 56,349
  • 34
  • 180
  • 251
0
votes
1 answer

Precision error when transforming coordinates using proj4js

I am using the library Proj4js to transform coordinates. I'm transforming coordinates from EPSG: 23029 to EPSG: 4326. The problem is that by transforming the coordinates there is some deviation from the precision used in the processing load. I…
0
votes
1 answer

Why XDocument isn't reading elements value?

I have code that reads proj files and checks for their assembly names. XNamespace msbuild = "http://schemas.microsoft.com/developer/msbuild/2003"; XDocument projDefinition = XDocument.Load(projPath); assemblyName = projDefinition …
Claudius
  • 1,883
  • 2
  • 21
  • 34
0
votes
1 answer

How to resolve: "proj4_c_impl.bundle: [BUG] Segmentation fault at 0x00000000000440"

MacBook-Pro:sims moboyle$ rails s /Users/moboyle/.rvm/gems/ruby-2.2.2/gems/rgeo-0.3.20/lib/rgeo/coord_sys/proj4_c_impl.bundle: [BUG] Segmentation fault at 0x00000000000440 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] Any ideas? Full…
ob1
  • 1,792
  • 15
  • 20
0
votes
1 answer

Running Powershell script from a msbuild .proj file gives System.OutOfMemoryException for large XML files

I've created a powershell script which loads some big (50MB+) XML files and retrieves some values from it. It works fine as a standalone script (but slow). When I call .ps1 from msbuild proj file, it starts normally but then dies on loading that big…
serop
  • 1,138
  • 12
  • 13
0
votes
1 answer

reproject raster (WGS84 to BNG) with large resolution

i'm doing a simple enough operation, reprojecting a raster from WGS84 to British National Grid, but i am wondering about some of the results post reprojection. The sum of the resulting rasters are quite different; is this due to the resolution and…
Sam
  • 1,400
  • 13
  • 29
0
votes
1 answer

Trying to create a typescript definition for proj4, how to declare anonymous static?

The transormer method below should actually be anonymous but that is not allowed in typescript: class Proj { static (a, b): { forward: (p: Point) => Point; inverse: (p: Point) => Point; }; static defs(name: string): any; …
Corey Alix
  • 2,694
  • 2
  • 27
  • 38
0
votes
1 answer

lat lon coordinates (WGS84) conversion to local x, y plane

Currently I'm trying the following: I have points from google earth (WGS84) which I want to transform to a local x,y coordinate system: a tangential plane with y positive from south to north and x positive from west to east. There is no need for the…
Yorian
  • 2,002
  • 5
  • 34
  • 60
0
votes
1 answer

Can I use Proj4 to project points onto a flat plane?

I am working on a batch process for generalizing data (Using a combination of algorithms including Douglas Peucker). Since both the source data (from ESRI shape files) and the required output format data can be in a variety of coordinate reference…
tofarr
  • 7,682
  • 5
  • 22
  • 30