2

I'm currently doing some niche modelling with data in geographic coordinates spanning all of Latin America. I am using R for my analysis. Some of the tasks I have to perform are area/distance dependent and yield incorrect results when applied in geographic coordinates. For example, spatial sampling (sp::spsample) leads to a bias towards more points in southern South America and buffering points and polygons (rgeos::gBuffer) leads to stretching/skewing of the buffer away from the equator.

What's the best way to address this issue? Should I project my data, apply the necessary procedure, then project back? If so, what projection would work for such a large area? Ideally, I'm looking for a general approach that could be applied to any region, but I fear this doesn't exists.

1
  • 1
    Depending on the analysis, some solutions have been described on this site. For instance, see gis.stackexchange.com/a/40464 for slope calculation, gis.stackexchange.com/a/7907 for calculations based on bearings, and gis.stackexchange.com/a/32160 for a general method. Equal-area projections eliminate the spatial sampling bias. It is hard to create large buffers across extensive regions; for that, 3D calculations become attractive. Whether any single projection will work depends on the type of analysis and on the accuracy requirements. How much error can you tolerate?
    – whuber
    Commented Jun 17, 2014 at 20:38

1 Answer 1

2

The only general and accurate approach, for large regions, would be to keep all spatial calculations in geodetic space, i.e., on the ellipsoid. However, you probably don't have this option.

The "projection" approach can work, but it depends entirely on what spatial calculations you wish to use. A different projection might be required for each case: A conformal projection will be good for directions (azimuths) but will require extensive use of scale factors to correct distances. And as whuber already said, an equal-area projection will work for areal calculations (such as sampling).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.