[GRASS-user] Re: Get current location projection in a Python Script

Kim Besson kimbesson1981 at gmail.com
Thu May 27 13:03:11 EDT 2010


Michael, regarding the use of regiondict = grass.region() , Does this
retrieves Projection EPSG code?

Kim

2010/5/25 Kim Besson <kimbesson1981 at gmail.com>

> Greetings
>
> I'm building a GRASS Python Script to automatically import a set of data to
> my location. At GRASS book (chapter 3.3.3) it uses g.proj -wf to to check
> current location projection. Can I use the same command in Python to
> retrieve the same?
>
>
> And how about calling gdalwarp in a Python-GRASS Script? can it be called
> and used by a Python_GRASS Script? if so, is there any Python example with
> that?
>
> Regarding "g.proj -wf" command. I get a lot of information. I suppose
> GDALWARP can read this right ? If not, How can I obtain current Location
> EPSG code?
>
> Thanks
>
> Best regards,
> Kim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100527/7b5856cb/attachment.html


More information about the grass-user mailing list