Hi there,

Just had a long chat with myself on grass-user in which I eventually figured
out that r.water.outlet would need an extra line added to work with lat/lon
grids that involved the 180 meridian wraparound. The modification to main.c
is (with surrounding lines for context) is:

G_usage();
exit(EXIT_FAILURE);
    }

  E = G_adjust_east_longitude(E,window.west); // <-- NEW LINE; for using
lat/lon data that straddle the 180 meridian

    if (E < window.west || E > window.east || N < window.south ||
N > window.north) {

Along with this, should the HTML help be updated to not just say
"northing/easting" for pour point locations, but also say "lat/lon"?

Andy
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to