Re: re [GRASS-dev] g.proj -p - units is : meters or metres ?
On Tue, Feb 9, 2010 at 4:48 AM, Glynn Clements gl...@gclements.plus.com wrote: Massimo Di Stefano wrote: apologize the private mail, i can see your answer on the list archive, but no reply is sent to my mail box (mybe some problems with the mailng list :-/) Note that, by default, the Mailman list management software doesn't send a copy of a message to any user who is listed in the To, CC, etc headers. If you don't receive the direct copy due to e.g. anti-spam filters, then you won't receive a copy at all. I recommend disabling this feature in your mailmain preferences: http://lists.osgeo.org/mailman/options/grass-dev/ I've asked for this feature to be disabled by default, but that hasn't happened. I was not aware of this request (or forgot). If there are no objections, I guess that we can change the Mailman settings. Not sure though, if that propagates to all users or if settings are kept (likely). Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: re [GRASS-dev] g.proj -p - units is : meters or metres ?
2010/2/9 Markus Neteler nete...@osgeo.org: I was not aware of this request (or forgot). If there are no objections, I guess that we can change the Mailman settings. Not sure though, if that propagates to all users or if settings are kept (likely). No objections here. Martin -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: re [GRASS-dev] g.proj -p - units is : meters or metres ?
Glynn: Changing the default won't affect existing users. Personally, I'd be inclined to change existing users' settings as well; they can always change them back if they actually want it enabled. I suspect that most people have it enabled simply because they don't know about it. I would be annoyed if someone changed this for me without asking. This setting saves me time. Hamish ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: re [GRASS-dev] g.proj -p - units is : meters or metres ?
Hamish wrote: Changing the default won't affect existing users. Personally, I'd be inclined to change existing users' settings as well; they can always change them back if they actually want it enabled. I suspect that most people have it enabled simply because they don't know about it. I would be annoyed if someone changed this for me without asking. This setting saves me time. While for other people, it results in them never seeing a reply to their question. If it was turned off, you'd know about it the first time that you got a duplicate reply. If it's left on, people won't notice that they're losing emails unless they happen to look at the archives or if someone replies to the reply. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
re [GRASS-dev] g.proj -p - units is : meters or metres ?
Hi Glynn, apologize the private mail, i can see your answer on the list archive, but no reply is sent to my mail box (mybe some problems with the mailng list :-/) ### ### ### Massimo Di Stefano wrote: i've old scripts that i'm using to parse the g.proj output in it i have units == meters but form recent svn 6.5 version i can see it use : metres GRASS 6.5.svn (spearfish60):~/wxpython/data_catalog g.proj -p -PROJ_UNITS unit : metre units : metres meters : 1 is it a typo, or need i to modify my scripts to use :metre / metres ? g.proj outputs whatever is in the PROJ_UNITS file. The textual description of the unit can be whatever the user chooses it to be, or in the case of g.proj -c, whatever is obtained from the source specified by georef=. GRASS itself only the unit/units fields for display to the user; calculations use the numeric value in the meters field. What do your scripts use the unit or units field for? ### ### ### I'm working on a script to send data from grass to ossimplanet, it is : http://svn.osgeo.org/ossim/trunk/gsoc/OssimPlanetSasha/r.planet.py there is a projinfo() function i'm using it to retrieve if the location use degrees or projected coordinates what i need is to extract the center of the map and use it in the zoom to action. if the location is in degrees i use : setCLL(map) location .. while if projected (meters) i use : setCPRJ(map) in the example i used the spearfish dataset. but as you pint me ... the ceck on the units string .. is not a good idea :-( beacouse the units value is user - dependent and maybe someone that did a typo error defining the location will go in an error during the script execution. regards, Massimo___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: re [GRASS-dev] g.proj -p - units is : meters or metres ?
Massimo Di Stefano wrote: apologize the private mail, i can see your answer on the list archive, but no reply is sent to my mail box (mybe some problems with the mailng list :-/) Note that, by default, the Mailman list management software doesn't send a copy of a message to any user who is listed in the To, CC, etc headers. If you don't receive the direct copy due to e.g. anti-spam filters, then you won't receive a copy at all. I recommend disabling this feature in your mailmain preferences: http://lists.osgeo.org/mailman/options/grass-dev/ I've asked for this feature to be disabled by default, but that hasn't happened. What do your scripts use the unit or units field for? I'm working on a script to send data from grass to ossimplanet, it is : http://svn.osgeo.org/ossim/trunk/gsoc/OssimPlanetSasha/r.planet.py there is a projinfo() function i'm using it to retrieve if the location use degrees or projected coordinates what i need is to extract the center of the map and use it in the zoom to action. if the location is in degrees i use : setCLL(map) location .. while if projected (meters) i use : setCPRJ(map) I suggest looking at the PROJ_INFO output, specifically the proj field. It will have the value ll for lat/lon. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] g.proj -p - units is : meters or metres ?
Hi All i've old scripts that i'm using to parse the g.proj output in it i have units == meters but form recent svn 6.5 version i can see it use : metres GRASS 6.5.svn (spearfish60):~/wxpython/data_catalog g.proj -p -PROJ_INFO- name : Transverse Mercator proj : tmerc datum : rome40 ellps : international lat_0 : 0 lon_0 : 15 k : 0.9996 x_0: 252 y_0: 0 no_defs: defined towgs84: -104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68 -PROJ_UNITS unit : metre units : metres meters : 1 is it a typo, or need i to modify my scripts to use :metre / metres ? ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] g.proj -p - units is : meters or metres ?
Massimo Di Stefano wrote: i've old scripts that i'm using to parse the g.proj output in it i have units == meters but form recent svn 6.5 version i can see it use : metres GRASS 6.5.svn (spearfish60):~/wxpython/data_catalog g.proj -p -PROJ_UNITS unit : metre units : metres meters : 1 is it a typo, or need i to modify my scripts to use :metre / metres ? g.proj outputs whatever is in the PROJ_UNITS file. The textual description of the unit can be whatever the user chooses it to be, or in the case of g.proj -c, whatever is obtained from the source specified by georef=. GRASS itself only the unit/units fields for display to the user; calculations use the numeric value in the meters field. What do your scripts use the unit or units field for? -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev