[GRASS-dev] Why the parameters of "g.region" are defined as string?

Pietro peter.zamb at gmail.com
Mon Aug 12 09:08:46 PDT 2013


On Mon, Aug 12, 2013 at 4:54 PM, Benjamin Ducke <benducke at fastmail.fm> wrote:
> On 08/12/2013 05:39 PM, Pietro wrote:
>> http://trac.osgeo.org/grass/browser/grass/trunk/general/g.region/main.c#L203
>>
>> Why should we not use TYPE_DOUBLE for these parameters (n,s,e,w,)? Is
>> it to not loose significant digits?
>
>
> It needs to be a string, so that you can use
> common lat/lon notations in the format "°dd'mm''ss".


Thank you Ben! I didn't thought to the lat/lon notation.

Best regards

Pietro


More information about the grass-dev mailing list