[R] Raster projection shift Biomod

MacQueen, Don macqueen1 at llnl.gov
Mon Mar 10 20:09:34 CET 2014


Probably better to ask on r-sig-geo.

Wouldn't it make more sense to export in a raster format, rather than csv?

-Don

-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 3/10/14 10:24 AM, "Jenny Williams" <jenny.williams at kew.org> wrote:

>Hi all,
>
>I am running Biomod with Albers Equal Area Conic Projection for Africa.
>Within Biomod all seems to work:
>I can generate a plot with the raster data and the presence and absence
>points plotted on top.
>
>However, when I go to export this to a *.csv file and create a shapefile
>from the point data in ArcMap, the randomly generated absence point data
>no longer overlies the continent in the correct location. With a very
>obvious shift (north-west) over Madagascar
>The original presence points are in the correct location, but the values
>for the raster data extracted per point are also incorrect.
>
>It seems that at some point the projection is not recognised, but I can't
>work out which part of the process seems to fail.
>
>The projection details for the raster layer were specified through the
>ArcCatalog projection chooser. If this projection is not supported, what
>projection is everything getting pushed to?
>
>Thanks for any help or suggestions in the right direction.
>
>
>Jenny
>
>
>________________________________
>The Royal Botanic Gardens, Kew is a non-departmental public body with
>exempt charitable status, whose principal place of business is at Royal
>Botanic Gardens, Kew, Richmond, Surrey TW9 3AB, United Kingdom.
>
>The information contained in this email and any attachments is intended
>solely for the addressee(s) and may contain confidential or legally
>privileged information. If you have received this message in error,
>please return it immediately and permanently delete it. Do not use, copy
>or disclose the information contained in this email or in any attachment.
>
>Any views expressed in this email do not necessarily reflect the opinions
>of RBG Kew.
>
>Any files attached to this email have been inspected with virus detection
>software by RBG Kew before transmission, however you should carry out
>your own virus checks before opening any attachments. RBG Kew accepts no
>liability for any loss or damage which may be caused by software viruses.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list