Comments (10)
Modified by dgrichard on 13 Oct 2008 21:28 UTC
from proj.
Attachment added by dgrichard on 13 Oct 2008 21:26 UTC
https://trac.osgeo.org/proj/attachment/ticket/17/pj_init.diff
from proj.
I am updating this as it might still be usefull. If not then it should be closed after 8 years shouldn't it?
Note : The proposed diff doesn't patch anymore on current sources
from proj.
There's a lot of open tickets that probably should be closed. I guess we should make an effort to reduce the number of open tickets, since many of them are outdated or already solved. The thing is, it takes a lot of time and is very tedious work...
I can't see the value the +title parameter brings to proj.4. Care to educate me?
from proj.
Well, i don't know if +title itself would be usefull, but what could be more important would be that +title is not properly read. So if you have a title which contains spaces, but not in quotes, like in the IGNF file, only the first word will be read as the title, and the rest of the title string could cause parsing errors for the following text
from proj.
That seems more like user error to me, to be honest.
How does PROJ4JS use +title? To override the projection title that is already defined in the source?
from proj.
What seems a user error? The fact that titles are not in quotes in the file nad/IGNF of proj sources?
I don't know about PROJ4JS actually, but wanting to get a user friendly name for a coordinate system by reading it's title seems like a common action one would want to do using the Proj C API in my opinion
from proj.
What seems a user error? The fact that titles are not in quotes in the file nad/IGNF of proj sources?
No, not putting whatever comes after +xxx= in quotes when spaces are needed.
I don't know about PROJ4JS actually, but wanting to get a user friendly name for a coordinate system by reading it's title seems like a common action one would want to do using the Proj C API in my opinion
I agree. In a very roundabout way it is sort of possible with the current API. It is definitely reasonable to make that easier for users of the proj API. I can't really connect the dots between that and this ticket, however.
from proj.
A +title tag would be a feature that would make it similar to the "name" parameter for WKT for "Coordinate Transformation Services". The +title is a comment telling GIS users what projection is contained within the projection definition. It might clear up some confusion as to which PROJ.4 projection string the user is using. I've seen discussion about Proj4 projection strings being simpler, but WKT projection string are preferred by some GIS users/programmers because it has the projection's name within it.
@kbevers It is hard to say what the original submitter end goal was of this ticket. It could be as simple as an effort to maintain compatibility with PROJ4JS. Or it could be a more extensive goal to have the +title tag in most proj4 strings including the epsg & IGNF registry files.
from proj.
Fixed. Works in master
$ src/cs2cs -v +init=IGNF:RGF93G +to +title="my foo bar" +proj=lcc +lat_1=1 +lat_2=2
# ---- From Coordinate System ----
+init=IGNF:RGF93G
# ---- To Coordinate System ----
+title=my foo bar +proj=lcc +lat_1=1 +lat_2=2
from proj.
Related Issues (20)
- Ogr2ogr: Confusing error when source crs is unknown HOT 3
- GDA94 to GDA2020 horizontal shift fails when using EGM2008 & EGM96 vertical crs HOT 3
- Concatenated operation with height reversal fails HOT 2
- depth to depth or two CRS with orientation down issue? HOT 3
- Link PROJ to CMAKE HOT 3
- Transformation from Gauß Krüger (EPSG:31256) coordinates to WGS84 (EPSG:4326) ? HOT 2
- JOYr2
- Update to ESRI projection db available
- User writable directory HOT 2
- prj with "local" projection from ArcGIS HOT 5
- Is this exception “osgeo::proj::io::FactoryException” a bug? in 9.4.0 HOT 8
- Minor version in libproj DLL suffix for MinGW HOT 2
- Geoid model list for a specific area HOT 5
- Proj4 export from a bound CRS object fails
- Interrupted Mollweide gives wrong result on inverse projections of some lat/lons. HOT 5
- .github/workflows/docker.yml to push only proj-docs for master pushes
- Project build failed on windows10 vs2017 HOT 1
- "proj_grid_info" C API function fails with grid "test_gridshift_projected.tif" HOT 4
- HEPOS GGRS87 shift grid HOT 2
- "No inverse method available" HOT 7
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.