Comments (4)
Comment by warmerdam on 17 Jun 2009 03:09 UTC
I tried:
warmerda@gdal64[113]% ../src/cs2cs +proj=latlong +datum=WGS84 +to +init=epsg:28992
5 10
106221.92 -4432619.53 0.00
and things seem to work ok. This was with trunk, not 4.6.1. Could you be more specific about how you trigger the exception?
from proj.
Comment by yangyong on 17 Jun 2009 09:00 UTC
warmerda,
Thanks for your attention. I think you are talking different projection with mine.
My taking projection is 28992, the string is " +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs":
and your talking projection is 28992, but the projection string is "+proj=latlong +datum=WGS84 " which is not correct.
I also build the DLL in the attachment with the latest brunch code, it still cannot work.
Thanks.
Yang
from proj.
Comment by warmerdam on 28 Feb 2010 05:08 UTC
Yang,
Sorry for neglecting this so long.
I did test with epsg:28992 in my example. You may have to scroll to the right to see the whole cs2cs command. In order to ensure the init file lookup isn't causing any problems I just tried:
cs2cs +proj=latlong +datum=WGS84 \
+to +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 \
+x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs
5 10
106221.92 -4432619.53 0.00
I'm not sure why you are getting an exception, but I'd suggest first trying it at the commandline as I suspect the issue something about how you are calling PROJ.4.
Please reopen if you can reproduce this problem via the commandline tools.
from proj.
Attachment added by yangyong on 17 Jun 2009 08:56 UTC
https://trac.osgeo.org/proj/attachment/ticket/43/ProjectionApplication.zip
from proj.
Related Issues (20)
- General Oblique Transformation doc: add "Rosetta Stone" linking it to *merc HOT 1
- 3D OGRSpatialReference::Transform is failed with PROJ 9.3 (regression!, it works with PROJ 9.2) HOT 1
- Inconsistent results on ppc64le on conda-forge with gcc 12 HOT 8
- Transformation failed after PromoteTo3D HOT 8
- Transformation failed after PromoteTo3D despite of WKT is correct and OGRSpatialReference .importFromWkt return OGRERR_NONE HOT 1
- Issue with 3d for EPSG:4978 to EPSG:27700 HOT 1
- CMake infinite loop HOT 1
- undefined reference to `pj_init_plus' HOT 1
- Vertical unit sometimes not considered in transformation.
- ESRI projection engine db needs updating
- GeoidGrids filename with spaces not accepted on windows HOT 2
- Unable to load proj.db via proj_context_set_database_path (WASM) HOT 1
- Build of proj.db failed HOT 1
- Assessment of the difficulty in porting CPU architecture for PROJ HOT 1
- ERROR 1: PROJ: Cannot take exclusive lock on .local/share/proj/cache.db HOT 4
- output not as in documentation HOT 1
- Transform coordinates crash when demo uses omp parallel HOT 4
- PROJ_CURL_CA_BUNDLE global env var not being picked up HOT 2
- Add `--version` CLI arg to all commands (e.g., `proj`, `projsync`, etc.)
- proj_context_set_search_paths does not ignore PROJ_LIB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proj.