1 #include "csf.h"
2 #include "csfimpl.h"
3 
4 /* change the y value of upper left co-ordinate
5  * RputYUL changes the y value of upper left co-ordinate.
6  * Whether this is the largest or smallest y value depends on the
7  * projection (See MgetProjection()).
8  * returns the new y value of upper left co-ordinate or 0
9  * case of an error.
10  *
11  * Merrno
12  * NOACCESS
13  */
RputYUL(MAP * map,REAL8 yUL)14 REAL8 RputYUL(
15 	MAP *map, /* map handle */
16 	REAL8 yUL) /* new y value of upper left co-ordinate */
17 {
18 	CHECKHANDLE_GOTO(map, error);
19 	if(! WRITE_ENABLE(map))
20 	{
21 		M_ERROR(NOACCESS);
22 		goto error;
23 	}
24 	map->raster.yUL = yUL;
25 	return(yUL);
26 error:  return(0);
27 }
28